good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Pattern Matching Queryby davorg (Chancellor) |
on Sep 17, 2002 at 12:52 UTC ( [id://198475]=note: print w/replies, xml ) | Need Help?? |
Regexes aren't always the answer. This solution uses substr and the magical autoincrement properties of strings.
Update: Argh! Or either of the previous answers would probably be better :( --<http://www.dave.org.uk> "The first rule of Perl club is you do not talk about
Perl club."
In Section
Seekers of Perl Wisdom
|
|