Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Perl CGI.PM: Use of uninitialized value $vals

by jsteng (Beadle)
on Apr 30, 2018 at 06:51 UTC ( [id://1213788]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1213788]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (2)
As of 2024-04-24 13:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found