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

Re: [MacPerl] Processing file backwards?



Just to reinforce TIMTOWTDI, if you text file is small, you can use:

foreach $line (reverse <INPUT>) {
	print $line;
}

Kevin


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