|laziness, impatience, and hubris|
Re: Core module: Attribute::Handlers behaviourby enigma (Novice)
|on Oct 21, 2012 at 10:11 UTC||Need Help??|
I understand the trick "BrowserUk" has suggested. I tried to implement the same as below but it is always giving me error asCan't locate object method "new" via package "Module"
When i'm changing the execution phase in ATTR to INIT,CHECK - module gets compiled successfully but ATTR TRACE is not called. And when i change the phase to BEGIN, I'm getting the above error message.
I need your help to understand why my Test.pl is not able to find "new()" method in Module.pm when Attribute::Handers are called at BEGIN phase.