Don't ask to ask, just ask | |
PerlMonks |
Re: To Pattern Match or not to Pattern Matchby Roy Johnson (Monsignor) |
on Mar 03, 2005 at 23:57 UTC ( [id://436415]=note: print w/replies, xml ) | Need Help?? |
Your first attempt at matching doesn't include the surrounding //s for your pattern. Not sure if that's what's troubling you.
Incidentally, the more perlesque way to write your for loop is
Caution: Contents may have been coded under pressure.
In Section
Seekers of Perl Wisdom
|
|