Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: How do you parallelize STDIN for large file processing?

by jandrew (Hermit)
on Feb 06, 2009 at 05:28 UTC ( #741802=note: print w/ replies, xml ) Need Help??


in reply to Re: How do you parallelize STDIN for large file processing?
in thread How do you parallelize STDIN for large file processing?

Would Tie::File be helpful?
if you knew which line it came from you could slot right back in where it started.

tie @array, 'Tie::File', filename or die ...;

### at the end
my ($Toad, $LineIn) = $MagicWand -> HocusPocus
$array[$LineIn] = $Toad;
http://search.cpan.org/~mjd/Tie-File-0.96/lib/Tie/File.pm


Comment on Re^2: How do you parallelize STDIN for large file processing?
Re^3: How do you parallelize STDIN for large file processing?
by ikegami (Pope) on Feb 06, 2009 at 05:32 UTC
    Definitely not. The goal is to speed things up, not set the hard drive on fire.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2014-09-22 15:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (198 votes), past polls