|Perl Monk, Perl Meditation|
Unexpected CGI param behaviorby cLive ;-) (Parson)
|on Jun 24, 2008 at 00:30 UTC||Need Help??|
cLive ;-) has asked for the
wisdom of the Perl Monks concerning the following question:
Well, unexpected to me...
What do you expect $var to be? I expected
What I got was:
To me, this is unexpected behavior. This is the line that gives us this:
Changing it to:
gives me the behavior I expect. But, is there a reason why the line as it stands is more correct than my interpretation? Am I the only person who thinks that the current implementation feels wrong?