Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Unexpected CGI param behavior

by NetWallah (Abbot)
on Jun 24, 2008 at 00:54 UTC ( #693642=note: print w/ replies, xml ) Need Help??


in reply to Unexpected CGI param behavior

The fine manual says:

If the parameter does not exist at all, then param() will return undef in a scalar context, and the empty list in a list context.
(Emphasis mine)

Essentially using the reasoning mentioned by pc88mxer.

So this is a case of FAD (Functions as documented).

++ for identifying and documenting the issue clearly.

     "A fanatic is one who redoubles his effort when he has forgotten his aim."óGeorge Santayana


Comment on Re: Unexpected CGI param behavior

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2014-12-20 15:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (96 votes), past polls