Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Split a file based on column

by roboticus (Canon)
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 cooling their heels in the Monastery: (8)
As of 2014-10-31 07:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (215 votes), past polls