Update: added confirmation about 5.10use Data::Dumper; my $x; if (exists $x->{a}->{c}) { print "c exists\n"; } else { print "c doesn't exists\n"; } print Dumper($x); __END__ c doesn't exist $VAR1 = { 'a' => {} };
In reply to Re: exists on hash autovivifies right?
by pc88mxer
in thread exists on hash autovivifies right?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |