Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Loading a part of the file to array using Tie::File

by glasswalk3r (Friar)
on Nov 21, 2017 at 15:00 UTC ( [id://1203890]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $large_file = '/tmp/some_large_file.txt';
    open(my $in, '<', $large_file) or die "Cannot read $large_file: $!";
    ...
    }
    # close is optional once $in goes out of scope
    close($in)
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-26 00:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found