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*
In reply to Re^3: $TAINTED in latest CGI.pm v2.87
by particle
in thread $TAINTED in latest CGI.pm v2.87
by zentara
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |