sandy1028 has asked for the wisdom of the Perl Monks concerning the following question:
Can anyone please tell me how to check of $lines =~
matches \> or \< in a single statement
if($lines =~ m/\>/){ $lines =~ s/^\>\s//gi; if($lines =~ m/\</){ $lines =~ s/^\<\s//gi;
Back to
Seekers of Perl Wisdom