vendredi 3 mai 2019

Can someone help me to to a pattern substitution? in Perl

I have a perl file (Example: hello.pl) containing this string: $Label_TEST = 'Number of test|>=0|0'; I need to create another pl file (Example Hello2.pl) in which I need to print the contents of hello but if I find >= i need to print instead of this: greater or equal then, Example:

$Label_TEST = 0 # Number of test (greater of equal to 0) [0];

Aucun commentaire:

Enregistrer un commentaire