when i have;print "Exists\n" if exists $hash{$key};
I get a "use of uninitialized value warning" I know some values are uninitialised, and wanted to use the above function to seperate them out. Is there a way to do this without being warned!? Many thanks for your thoughts.use strict; use warnings; use diagnostics;
In reply to hash defined? by hughperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |