more useful options | |
PerlMonks |
Re^2: An efficient way to gather a common portion of several strings' beginningsby AnomalousMonk (Archbishop) |
on Nov 15, 2015 at 18:26 UTC ( [id://1147739]=note: print w/replies, xml ) | Need Help?? |
($common ^ $str) =~ m/^\0+/; Please see reply above regarding m/^\0+/ versus m/^\0*/ match. Give a man a fish: <%-{-{-{-<
In Section
Seekers of Perl Wisdom
|
|