in reply to Re^2: recursive exists in perl
in thread recursive exists in perl
use Data::Dumper; my %h; no autovivification; if ( exists( $h{A}{B}{C} ) ) { print "Hi mom!\n"; } print Dumper \%h; __END__ $VAR1 = {};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: recursive exists in perl
by gsiems (Deacon) on Dec 10, 2010 at 03:24 UTC |