use Data::Dumper qw(Dumper); $foo = undef; print Dumper($foo); # $foo is undef, obviously $bar = $foo->{bar}; print Dumper($foo); # $foo is now empty hashref
In reply to Undef becomes hash reference somehow by ipherian
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |