http://qs1969.pair.com?node_id=1213788


in reply to Perl CGI.PM: Use of uninitialized value $vals

use warnings;
can cause that warning message. but not fatal.
usually happens with codes like
use warnings; my %hash; if ($hash{'word'} =~ /world/) { }
$hash{word} is not defined and will cause that warning.
Make sure $hash{word} holds a valid value before using it or it will give you a warning.