Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 rifling through the Monastery: (9)
As of 2014-08-23 14:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (174 votes), past polls