Beefy Boxes and Bandwidth Generously Provided by pair Networks httptech
Perl Monk, Perl Meditation
 
PerlMonks  

Re: how to read a file in backwards?

by Miguel (Friar)
on Feb 18, 2005 at 16:30 UTC ( #432390=note: print w/ replies, xml ) Need Help??


in reply to how to read a file in backwards?

Another alternative:

use strict; use IO::All; print io("file.txt")->backwards->getlines;


Comment on Re: how to read a file in backwards?
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://432390]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (12)
As of 2014-04-21 16:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (496 votes), past polls