in reply to splitting up data...
Another option is to open up all output files at the start and just cycle through writing one input line to each output file in turn. This should also save you from needing to read through the file twice.
Finally, you mention @ARGV which has me a little confused. If the list of words is coming in @ARGV, I believe most OS have a limit to how many ARGS you can pass to a process, which is generally pretty low. I'm assuming your changing from passing in words via @ARGV to using a file.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: splitting up data...
by chinamox (Scribe) on Oct 22, 2006 at 06:07 UTC |