On Sun, 2008-10-26 at 09:15 -0700, AndrewMcHorney wrote: > 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 > >
perldoc File::Slurp -- Just my 0.00000002 million dollars worth, Shawn Linux is obsolete. -- Andrew Tanenbaum -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/