http://www.perlmonks.org?node_id=693891


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).