"be consistent" | |
PerlMonks |
Re: split but not consumedby broquaint (Abbot) |
on Jul 23, 2004 at 04:28 UTC ( [id://376790]=note: print w/replies, xml ) | Need Help?? |
Use a capture in your regex
Also, split expects a delimiter then a string (and optionally a limit), so passing the result of one split to another can result in unexpected behaviour. See. the split docs for more info on its usage.
HTH
_________
In Section
Seekers of Perl Wisdom
|
|