Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Text output is on one lineby ph0enix (Friar) |
on Dec 10, 2002 at 19:45 UTC ( [id://218881]=note: print w/replies, xml ) | Need Help?? |
If you undefine line separator (undef $/;) than whole file will be red as one line ($bookfile_contents = <FILE>;) If you want to read from file line by line than use
What does mean $/ = "tr/\n /";? Your line will end with following text? I don't think so.
In Section
Seekers of Perl Wisdom
|
|