in reply to Uninitialized errors when using 2 hashes.
To expand on the answer above, the correct way to test for definedness, or the lack thereof, is with defined, something like
, not withif (!defined $var) {...
See also existsif ($var eq undef) {...
|
|---|