Just another Perl shrine | |
PerlMonks |
Re^5: grep questionby trammell (Priest) |
on May 26, 2005 at 23:26 UTC ( [id://460904]=note: print w/replies, xml ) | Need Help?? |
Be fair here: if the user input varies from what the OP specifies then neither my solution nor [id://demerphq]'s stands up; if one of the params is instead say foo, mine prints a bogus $1, and the other skips it altogether. Neither one is particularly good; I would argue that [id://demerphq]'s fails better, but not well.
In Section
Seekers of Perl Wisdom
|
|