Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 romping around the Monastery: (9)
As of 2014-07-31 10:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (248 votes), past polls