|
|
| "be consistent" | |
| PerlMonks |
Re: Transforming a scalar to an arrayby davorg (Chancellor) |
| on Jul 15, 2009 at 15:04 UTC ( #780349=note: print w/ replies, xml ) | Need Help?? |
|
I realize that local( $/, *INPUT ); gets rid of the new lines. It doesn't actually. You end up with a scalar that still has a newline at the end of each line of text. You can, of course, use that to your advantage.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||