[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Processing file backwards?



Kevin Lindsey wrote:
> 
> foreach $line (reverse <INPUT>) {
>         print $line;
> }

When I read this my first thought was "Why do you want to reverse the
string which <INPUT> gives you?".  :-)

.retal

kraM

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch