Hello

I am continuing work on my script. I know there are many ways to read files. I am going to be opening files that are text and also that are binary.

Here are my 2 ways that I have done it it in the past. I am wondering which way is best.

$_ = join '',(<SOURCE_FILE>) or @SourceLine = (<SOURCE_FILE>)

Which one is the best way or is there a better solution?

Andrew


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


Reply via email to