Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 rifling through the Monastery: (8)
As of 2014-10-22 13:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (118 votes), past polls