Think about Loose Coupling | |
PerlMonks |
Re: perl one-liner, is it possible?by olus (Curate) |
on Feb 07, 2006 at 12:11 UTC ( [id://528479]=note: print w/replies, xml ) | Need Help?? |
Sure!
Change the input record separator, so that instead of the reading of the file breaks on new lines, we read chunks of data. Next, just substitute the two white space characters ('\n' and ' ') with nothing and the lines get concatenated. -- olus
In Section
Seekers of Perl Wisdom
|
|