Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: $TAINTED in latest CGI.pm v2.87

by particle (Vicar)
on Oct 09, 2002 at 15:45 UTC ( #203968=note: print w/replies, xml ) Need Help??


in reply to Re: Re: $TAINTED in latest CGI.pm v2.87
in thread $TAINTED in latest CGI.pm v2.87

how about

$ENV{REQUEST_METHOD} ||= '';

but it will replace a false value, such as the number 0. in perl6, that's better written as:

$ENV{REQUEST_METHOD} //= '';

which will only default undefined values

~Particle *accelerates*

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2022-11-30 11:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?