in reply to Match the starting \>
You do not have to test the appearance of < and > bevor deleting them.
if (/</) { s/<//; }
does nothing different to
s/<//;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Match the starting \>
by almut (Canon) on May 15, 2009 at 09:42 UTC |
In Section
Seekers of Perl Wisdom