Hello

I am trying to read a text file with carriage returns and line feeds on a unix 
system  and for some reason it will read only one of text. I use the same code 
in a different perl script and I can read a file that does not have carriage 
returns and line feeds.

The existing code is :

open (SOURCE_FILE,$source_file) or die;
$_ = <SOURCE_FILE;

How can I get the read line to read the entire file?

Thanks,
Andrew


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to