Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Why does exists cause autovivication?by chromatic (Archbishop) |
on Dec 29, 2007 at 03:17 UTC ( [id://659434]=note: print w/replies, xml ) | Need Help?? |
next LASTLOG unless exists $user_by_uid{$uid}->{$host};
How is perl to know that you don't want to dereference $user_by_uid{$uid} when you dereference it explicitly? Where should exists start dereferencing, and how do you rewrite the evaluation order of expressions to make it work its way through the dereferencing chain without breaking the ability of exists to work on other expressions?
In Section
Seekers of Perl Wisdom
|
|