Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: another regx Q

by hdp (Beadle)
on May 02, 2001 at 08:05 UTC ( [id://77233] : note . print w/replies, xml ) Need Help??


in reply to another regx Q

Holy cow! Please, please, please use split for this monstrosity.
@fields = split / +/, $string
is much cleaner. Your regex will be hell to maintain if it ever needs to change.

hdp.