Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Split a file based on column

by roboticus (Chancellor)
on Jan 17, 2013 at 04:19 UTC ( #1013703=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ cat t_file_queue.pl 
    #!/usr/bin/perl
    ...
    n|1|brown
    o|1|dog
    p|5|gorgonzola
    
  2. or download this
    $ ./t_file_queue.pl 
    1.txt: opened new file (1)
    ...
    5.txt: Too many open files, close one: 3.txt:10, 4.txt:11, 1.txt:15
       closing 3.txt
    5.txt: opened new file (16)
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2016-09-28 00:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (516 votes). Check out past polls.