Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 imbibing at the Monastery: (5)
As of 2014-11-29 06:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (203 votes), past polls