![]() |
|
Welcome to the Monastery | |
PerlMonks |
Re: scalable chompingby ccn (Vicar) |
on Oct 29, 2008 at 14:02 UTC ( #720229=note: print w/replies, xml ) | Need Help?? |
Read the file line by line using $/ = '+'. Apply regexps on each line to remove \n and replace record separators
This is onliner as example where 'X', 'Y', 'Z' are characters to be replaced with record separator ';'
In Section
Seekers of Perl Wisdom
|
|