in reply to Re: Regular expressions and sort
in thread Regular expressions and sort
I was also eyeballing the statement $mask=/_(\d\d)_/ . After some
investigation with use re 'debugcolor', it turns out
that the /_(\d\d)_/ gets compiled but nothing is stored in $mask. In effect, the statement
$_[0] =~ /$mask/ is equal to $_[0] =~ //
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Regular expressions and sort
by ikegami (Patriarch) on Nov 04, 2005 at 15:43 UTC |
In Section
Seekers of Perl Wisdom