[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Too many arguments?



At 21:00 Uhr -0400 22.06.1998, Jonathan Eunice wrote:
>I'm running into a situation where drag-and-drop of file
>arguments onto a MacPerl droplet fails silently.  If I
>drag and drop 25 files at a time, say, it works.  @ARGV
>contains the expected list of file paths.  If I drag 55
>at a time, it fails...and I don't mean my program fails,
>but that even a simple
>
>   print "hello, world!\n";
>
>fails to print anything.  I assume MacOS has some (apparently
>low) number of bytes allocated to holding the list of files,
>and I'm exceeding it.  Is there anything I can do about this?
>Probably a built-in constant, eh?  I would like to understand
>the mechanism, however.

I could solve this problem by increasing the memory partition of the applet
in the Finder: Higlight the applet in the Finder, choose Information from
the File menu and try 150KB in both fields. I just dropped my Netscape
cache (425 files) on a 300KB-"print "hello, world!\n";"-droplet and it
worked.


Peter Hartmann
Visiting Scholar
Ritsumeikan University, Kyoto, Japan
e-mail:
hartmann@mbox.kyoto-inet.or.jp (preferred)
phv00542@askic.kic.ritsumei.ac.jp




***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch