good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: splitting data advice requestedby oxone (Friar) |
on May 13, 2009 at 22:19 UTC ( [id://763931]=note: print w/replies, xml ) | Need Help?? |
I like your approach, because it avoids the problems of the "full file slurping" options suggested above (ie. won't scale for very large input files), and it recognises that '>' is a handy delimiter here.
A small suggested improvement so that it removes the line breaks as per the OP, and is a bit shorter:
In Section
Seekers of Perl Wisdom
|
|