Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: selecting columns from a tab-separated-values file

by Lotus1 (Deacon)
on Jan 22, 2013 at 17:03 UTC ( #1014732=note: print w/replies, xml ) Need Help??


in reply to Re: selecting columns from a tab-separated-values file
in thread selecting columns from a tab-separated-values file

I just tried your solution with an input file of 100,000 lines but I only got 65537 lines of output. Here is the command line I used to run the test:

perl ibuf.pl -B=1024 < testdata.csv | perl obuf.pl -B=1024 > out.csv

Replies are listed 'Best First'.
Re^3: selecting columns from a tab-separated-values file
by BrowserUk (Pope) on Jan 22, 2013 at 17:25 UTC

    Damn! I missed/dropped the last line of obuf.pl when I C&P's the code:

    print $obuf;

    Now corrected above, Thank you.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (12)
As of 2016-10-01 14:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (578 votes). Check out past polls.