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

re:[MacPerl] CGI.pm and MacPerl




Keith,
I have some experience with CGI and Perl, but not enough direct experience 
with CGI.pm and MacPerl to give definitive answers.  I just got MacPerl, 
but 
have programmed a lot of perl on UNIX workstations (SGI and SUN).  I 
believe 
the startup delay you are experiencing is the combination of processing a 
module, CGI.pm, and running on a 68040.  Running on a PowerPC or one of 
the
other more recent servers (e.g. Sun ultra) will definitely speed things 
up.  
Also, a one or two second processing delay is usually acceptable to web 
users 
who typically experience 10second+ download times for web pages.  (By 
"significant delay" you probably mean something bigger than a few 
seconds?)

(In my opinion) Anything simple in CGI you should probably write yourself, 
anything beyond that, go with CGI.pm or some other CGI module, since the 
web's getting slower and the machines are getting faster.

-Ken
----------------------[Reply - Original Message]----------------------

Sent by:"Keith D. Fetterman" <kdf@gnw.com>
 I would like some feedback from folks experienced with CGI.pm and 
MacPerl.

I justed started using CGI.pm Version 2.28 with MacPerl 5.1.0 r2.  I
created a simple script that creates a CGI object with a couple of
parameter/value pairs defined then I print out them out.  I am running 
this
on a PowerBook 540c (68040) with 20MB of RAM.

I noticed that each time the script starts up, there is a significant 
delay
before the values are printed to stdout.

Is this delay due to the overhead of processing the CGI.pm package?  Is
this overhead specific to MacPerl or does UNIX versions of Perl also
experience this overhead?

..(stuff deleted)...

My CGI scripts will be running on BSDI UNIX in production.


-=#=-
Ken Tanaka                      Phone: (602) 988-9773 ext 413
Hughes Training, Inc.           Fax:   (602) 988-3556

tanaka@hrlban1.aircrew.asu.edu
tanaka@alhra.af.mil
-=#=-