|
|
| P is for Practical | |
| PerlMonks |
Re^4: Class::InsideOut - yet another riff on inside out objects.by adrianh (Chancellor) |
| on Dec 19, 2002 at 10:52 UTC ( #221080=note: print w/ replies, xml ) | Need Help?? |
|
As I understand it the %hash isn't actually in scope when the ATTR handler is called, so there is no way to get at it with PadWalker... Demonstration.
produces
Unless I'm missing something (entirely possible) I don't see how Devel::Caller can help here? There isn't a way that (in the above example) you can get at the name 'foo' at the time the %foo hash reference is passed to the ATTR handler.
In Section
Meditations
|
|