SPUG: perl2exe perl-cgi file size problem
Daryn Nakhuda
daryn at marinated.org
Thu May 2 13:48:43 CDT 2002
out of curiosity, why do you want the file smaller?
It sounds like you're saying 700k is a large web file, by which I'm guessing
you mean to download.. keep in mind that the filesize of the perl script
isn't what the user downloads, they just get the output of your script,
which is the same as it was from the 14k version.
There's other reasons for smaller files I could think of, like your disk
quota, or possibly memory usage, and I don't have an answer for those, but
just wanted to make sure you're worried for the right reasons :)
-daryn
On Thu, 2 May 2002, Meryll Larkin wrote:
> 5/2/02
>
> Hi SPUGsters,
>
> I have a 14.5K perl-cgi script that generates a Web
> page. I want to put it on an IIS Server (stuck with
> that for the moment) which is housing my domain. This
> server has a mock cgi-bin that will run perl2exe
> files.
>
> When I compile with perl2exe, the file bloats to
> 1016K. When I realized it was compiling all of CGI.pm
> (standard) into the exe, I stripped down the script to
> use the minimim amount of CGI that I could. The
> script is now only using param from CGI, and all the
> rest is Perl (including 3 function calls to
> time)(mostly Perl printing complex HTML). More than
> 300K is from CGIpm (still, even 700K is an enormous
> Web file).
>
> So, before I embark on a project more time consuming
> than writing the original script, (wading through
> CGI.pm to see if I could steal or adapt the param
> method and embed it into my script) I wanted to ask:
>
> Does anyone have any recommendations (other than
> getting off the IIS - that's for later this year) for
> me to try with my Perl script and perl2exe?
>
> Thanks,
> Meryll Larkin
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - your guide to health and wellness
> http://health.yahoo.com
>
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> POST TO: spug-list at pm.org PROBLEMS: owner-spug-list at pm.org
> Subscriptions; Email to majordomo at pm.org: ACTION LIST EMAIL
> Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
> For daily traffic, use spug-list for LIST ; for weekly, spug-list-digest
> Seattle Perl Users Group (SPUG) Home Page: http://seattleperl.org
>
--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
POST TO: spug-list at pm.org PROBLEMS: owner-spug-list at pm.org
Subscriptions; Email to majordomo at pm.org: ACTION LIST EMAIL
Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
For daily traffic, use spug-list for LIST ; for weekly, spug-list-digest
Seattle Perl Users Group (SPUG) Home Page: http://seattleperl.org
More information about the spug-list
mailing list