in reply to Re^2: CGI::Tiny versus undefined parameter/form field
in thread CGI::Tiny versus undefined parameter/form field

You could try printing or otherwise inspecting the type of $cgi

use Scaler::Util qw( reftype ); print reftype $cgi;

That will tell you conclusively if $cgi is a CGI::Tiny object or undef.