XP is just a number | |
PerlMonks |
Re: help with regexby ExReg (Priest) |
on Mar 08, 2016 at 23:35 UTC ( [id://1157127]=note: print w/replies, xml ) | Need Help?? |
Or, expanding on what choroba said, $test =~ s{^/+}{/};if, for some perverse reason, you have more than two //, like $test = "////user/";
In Section
Seekers of Perl Wisdom
|
|