I hate the param method from CGI
Scalar and list content is a nice and advanced feature of perl. Sometimes I think it's a bit too smart for us who use perl.
In our code we have a lot of method calls like this
$obj->foo( name1 => $value, name2 => bar() );
We do a lot of web stuff and often we like to pass the user input to a method like this:
$obj->foo( name1 => $value, name2 => $cgi->param("inputkey") );
This code is bad! It should be
$obj->foo( name1 => $value, name2 => scalar($cgi->param("inputkey")) );
T…