P is for Practical | |
PerlMonks |
Re: m{} within grep{} causing problems?by mikfire (Deacon) |
on Jun 25, 2001 at 19:48 UTC ( [id://91318]=note: print w/replies, xml ) | Need Help?? |
You are confusing perl. According to perldoc -f grep, you
have two choices:
Your usage is a hybrid of the two, as the curly braces indicate the beginning of a block. Both of these two forms work or
In Section
Seekers of Perl Wisdom
|
|