![]() |
|
Syntactic Confectionery Delight | |
PerlMonks |
Re: best way to pass databy ehdonhon (Curate) |
on Aug 21, 2003 at 19:33 UTC ( #285567=note: print w/replies, xml ) | Need Help?? |
Well, if that gets converted to a '/bin/sh -c', it will probably crash if @array really does have thousands of lines in it. There is a hard limit to the number of parameters that sh will take. Here is one solution:
If you do it that way, then you will have to write your other script to accept the data via STDIN. If this is too slow for you, you might want to take a look at IPC::Shareable::SharedMem for a shared memory solution.
In Section
Seekers of Perl Wisdom
|
|