Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Unexpected CGI param behavior

by cLive ;-) (Prior)
on Jun 25, 2008 at 06:25 UTC ( #693891=note: print w/replies, xml ) Need Help??


in reply to Re^2: Unexpected CGI param behavior
in thread Unexpected CGI param behavior

"would *also* fail" - um, no it wouldn't, because it explicitly returns a scalar undef. I've tested it.

Of course, what it would do is change an array assignment:

# from @array=(); # to: @array=(undef);

Which would be an unacceptable change to existing behavior (exists $array[0] value would change from empty string to 1).

Replies are listed 'Best First'.
Re^4: Unexpected CGI param behavior
by ikegami (Pope) on Jun 25, 2008 at 07:37 UTC
    Not that situation, the situation where the field is present.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://693891]
help
Chatterbox?
[LanX]: ha the Cuban experience
[LanX]: one strange thing I heard was that pharmacies in Vietnam are run by Russians
[LanX]: still can't believe this, must h have been a misunderstanding
[choroba]: fortunately, I haven't the need to verify this
[choroba]: haven't had

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2017-02-26 04:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (371 votes). Check out past polls.