in reply to What operator should perl5porters use for safe dereferencing?
It would make $bar-XX>method() safe if $bar is undefined, but what if $bar is a scalar? Or an unblessed reference? Or an array ref? or a coderef? Would the same operator work for fetching elements of array refs and or keys of hashrefs, or only for methods?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Clarify what it does
by dsheroh (Monsignor) on May 31, 2012 at 13:35 UTC |
In Section
Past Polls