- or download this
for my $key (keys %hash){
#...
...
for my $key (keys %{$hashref}){ # dereferencing a hash
#...
}
- or download this
exists argument is not a HASH or ARRAY element
- or download this
exists argument is neither a HASH element nor an ARRAY element
- or download this
if (exists $hash{some_key}){
#..
...
if (exists $hashref->{some_key}){ # dereferencing a hash element using
+ an arrow
#..
}