>> Is there a limit to the size a script can be in order to run as a CGI >> with WebStar. I thought I read somewhere that the limit is 60k, >> although files over 40k are problematic. I can't run a script that >> is 43k, and it is driving me crazy! > >There is no limit of that kind. Yes, ther eis. The limit of the script is the size that a TEXT resource can hold. The CGI glue stores the script in a TEXT resouce (don't remember the number). I had thought they had a limit of 32k, not 40k. Anyway, if you fill the resource, that's it. Its full. Export stuff out to a text file in the same dir. Do somthing like this in your code: require "my-subs.pl"; &DoSub1; &DoSub2; That way at least your subs are outside of the resource and can thus save you on some space. Good luck. Shawn. Programmer for IN Jersey: http://www.injersey.com/ ---------------------------------------------------------------------------- --------------- Why do I like Perl? Because "in accordance with Unix tradition Perl gives you enough rope to hang yourself with." - Programming Perl. Why do I dislike Java? Because "the class ROPE that should contain the method HANG to do the hanging with doesn't exist becuase there is too much 'security' built into the language." - Shawn.