Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by jsteng (Beadle)
on Apr 30, 2018 at 06:51 UTC ( #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? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2022-01-20 10:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (56 votes). Check out past polls.

    Notices?