Welcome to the Monastery | |
PerlMonks |
Re^3: regex subst not DWIMby suaveant (Parson) |
on Dec 19, 2007 at 22:52 UTC ( [id://657995]=note: print w/replies, xml ) | Need Help?? |
Ok... first problem I see (besides the params regexp already pointed out... is your not_method regexp piece...
you didn't put it in a container, so your pipes aren't doing what you expect... That'll work better. Update a \b at the end would also help make sure you don't match a string starting with as or if etc...
In Section
Seekers of Perl Wisdom
|
|