no autovivification;
if( exists $foo->{bar}{anything}{you}{want} ){ }
Or
use Data::Diver 'Dive';
if( my $want = Dive( $foo, qw/ bar anything you want / ) ){ ... }
In reply to Re: How do you check if a key exists without creating it ?
by Anonymous Monk
in thread How do you check if a key exists without creating it ?
by exilepanda
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |