--- Jeff 'japhy' Pinyan <[EMAIL PROTECTED]> wrote:
> On Jun 25, Aaron Craig said:
> 
> >In the spirit of TMTOWTDI -
> >
> >At 07:20 25.06.2001 -0700, Paul wrote:
> >>the brute force approach: =o)
> >>
> >>   open  IN,  $file    or die $!;
> >>   open  OUT, ">$new"  or die $!;
> >>   print OUT $line while defined($line=<IN>);
> >>   close OUT;
> >>   close IN;
> >
> >print OUT $_ while (<IN>);
> 
> In the spirit of less punctuation, and more defaults:
> 
>   print OUT while <IN>;

lol -- for small files, I actually prefer:

    print OUT <IN>;

But since you can't always be sure.... ;o]

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

Reply via email to