Hero Zzyzzx has asked for the wisdom of the Perl Monks concerning the following question:
So I've written a set of scripts that creates a indexed mySQL-driven website with some basic document management features. I developed it with use strict; and it runs beautifully. I guess that's the first step to getting it to run correctly with mod_perl.
The thing I'm worrying about is in some areas, code is executed based on the ABSENCE of a variable- for instance, if deleteflag=yes is not "posted" to the script, the script doesn't execute a loop, it skips ahead.
I've undef'd the hash that stores the "posted" variables before the variables are parsed in my script as a precautionary measure. Is this enough to make sure my hash will be empty, and not cause problems down the line with my script looking for the absence of variables?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: mod_perl- am I safe?
by Masem (Monsignor) on Mar 23, 2001 at 19:47 UTC | |
by Hero Zzyzzx (Curate) on Mar 23, 2001 at 20:02 UTC | |
by Masem (Monsignor) on Mar 23, 2001 at 20:35 UTC | |
|
Re: mod_perl- am I safe?
by arturo (Vicar) on Mar 23, 2001 at 19:50 UTC | |
|
Re: mod_perl- am I safe?
by pileswasp (Monk) on Mar 23, 2001 at 20:56 UTC | |
|
Re: mod_perl- am I safe? UPDATE!! COOL GEEK BENCHMARKING STUFF HERE!!
by Hero Zzyzzx (Curate) on Apr 05, 2001 at 01:29 UTC | |
by Hero Zzyzzx (Curate) on Jun 05, 2001 at 00:16 UTC |