Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: perl: Argument list too long

by parv (Vicar)
on May 03, 2008 at 03:46 UTC ( #684301=note: print w/replies, xml ) Need Help??

in reply to perl: Argument list too long

I think the error must be coming from the shell invoking perl, not perl itself. The error would not be due to setting environment variables, but what is passed to $PERL_BIN/perl.

To confirm ...

  • insert set -x just before the perl invocation line (to see the actual invocation; may want to set +x just after the perl line to avoid clutter in case perl call succeeds);
  • replace $PERL_BIN/perl with echo ("argument list too long" message would still be produced);
  • reduce the number of things stuffed in $@ (error message would enventually go away when "enough" -- consult your shell|kernel documentation|source -- of the arguments have been stripped away).

Thanks (rest of the posters) for the clue that environment is also part of the space calculation, which I had outright dismissed in my reply.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2023-03-25 10:48 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (63 votes). Check out past polls.