Hi there,
Sorry there's a lot to digest all at once in your message, but here's
one tip:
On Sat, 29 Jun 2002, Jeff wrote:
- Use 'open my $fh, $filename or die $!; wherever I open files
Use Symbol::gensym if you can, it makes dealing with files much less
accident prone.
73,
Ged.
Title: Message
I have a 'medium'
traffic e-commerce site (about 30GB xfer a month). It is mostly written in
Perl (about 40 scripts or 4,000 lines of code). We have had no problems with
performance to date but in preparation for future growth (in addition to other
changes to the site's
Title: Message
Excuse my typos, I
just wanted to clarify I added 'use strict;' not 'use stricts;' to my code along
with the -w operator(#!/usr/bin/perl -w) and I'm not seeing all the errors
in my logs.
Jeff Crist wrote:
Excuse my typos, I just wanted to clarify I added 'use strict;' not 'use
stricts;' to my code along with the -w operator (#!/usr/bin/perl -w) and
I'm not seeing all the errors in my logs.
Because probably your code was clean in first place. Good for you.
BTW,
PerlWarn On
Jeff wrote:
Hey thanks for the reply. I am making progress but I have run into a
problem where when I have PerlRun enabled my scripts are not see the
field values being passed in the URL. I'm still using cgi-lib.pl not
CGI.pm.
I've never used cgi-lib.pl and you shouldn't either. That
Jeff wrote:
So here is my strategy that I would like a sanity check from anyone on.
Go through and quickly clean up my existing code by adding use strict
and localizing all my variables (with 'my' and 'local' for special
variables) and then run is under mod_Perl using the Apache::PerlRun.