in reply to Re: Accessing name of tied variable in tie constructor
in thread Accessing name of tied variable in tie constructor
Even PadWalker and Devel::Caller can't help you - TIEHASH doesn't get passed a reference to the tied variable, so there's no chance of it being able to figure out the variable's name.
Also, the argument this in the Tie::StdHash documentation isn't an identity number; it's a blessed hashref. (It's what most OO Perl code would refer to as $self.)
|
|---|