exists still autovivifies in some situations:
use Data::Dumper; my %h = ( foo => 1 ); print "Exists" if exists $h{bar}[2]; print Data::Dumper::Dumper \%h; __END__ $VAR1 = { 'bar' => [], 'foo' => 1 };
Which probably isn't the right thing to do.
----
send money to your kernel via the boot loader.. This and more wisdom available from Markov Hardburn.
In reply to Re^2: Getting Matching Items From An Array
by hardburn
in thread Getting Matching Items From An Array
by Limbic~Region
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |