Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: mod_perl- am I safe?

by pileswasp (Monk)
on Mar 23, 2001 at 20:56 UTC ( [id://66669]=note: print w/replies, xml ) Need Help??


in reply to mod_perl- am I safe?

It would probably be wise to always declare your variables to a value (even if it's undef)

my ($foo, $bar, $baz) = (undef,'',0); my $deleteflag = $cgi->param('deleteflag');
etc. That way, you can guarantee that the values you're going to get will have been generated by this call to the script.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://66669]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-23 17:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found