CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Frequently Asked Questions:
Why do I sometimes get an "Argument list too long"

 



Jasmine
Administrator

Jan 26, 2001, 10:18 AM

Post #1 of 1 (1710 views)
Why do I sometimes get an "Argument list too long" Can't Post

(From the Perl FAQ)

Why do I sometimes get an "Argument list too long" when I use <*>?

The <> operator performs a globbing operation. By default glob() forks csh(1) to do the actual glob expansion, but csh can't handle more than 127 items and so gives the error message Argument list too long. People who installed tcsh as csh won't have this problem, but their users may be surprised by it.

To get around this, either do the glob yourself with Dirhandles and patterns, or use a module like Glob::KGlob, one that doesn't use the shell to do globbing.



 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives