Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: regex needed with match operatorby broquaint (Abbot) |
on Apr 28, 2003 at 13:37 UTC ( [id://253683]=note: print w/replies, xml ) | Need Help?? |
Here's a fix for your regex
Here's a simpler solution which grabs what is matched (as opposed to modifying the contents @FILES as your code does) See. perlre for more info on the regex used. HTH
_________
In Section
Seekers of Perl Wisdom
|
|