in reply to max number of arguments

It may help to bypass the shell by calling system with list syntax:

my $result = system '/path/to/program', $flags, @bigarray;
You don't say what system call you're running, but it could have limits of its own. Check the return value to see what happened.

After Compline,
Zaxo

Replies are listed 'Best First'.
Re: Re: max number of arguments
by pike (Monk) on Sep 05, 2002 at 14:55 UTC
    I'm running RedHat linux - and I use bash as my logon shell. Is there any environment variable that contains the max length of the command line? Or any other way to get it?

    pike