Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Splitting a large file into smaller files according to indexes

by shmem (Chancellor)
on Apr 06, 2018 at 08:43 UTC ( [id://1212408]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %fh;
    while ( my $line = <$FH> ) {
    ...
        }
    }
    close $fh{$_} for keys %fh; # close all files
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-26 07:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found