Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2015-11-28 09:11 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (740 votes), past polls