in reply to Core module: Attribute::Handlers behaviour
There was two issues that I have found.
1. I need to use ...no strict 'refs';
2. Dump of args passed to ATTR is -
$VAR1 = 'Module'; $VAR2 = 'ANON'; $VAR3 = sub { "DUMMY" }; $VAR4 = 'TRACE'; $VAR5 = undef; $VAR6 = 'BEGIN';
...
Why it is taking "new()" as anonymous subroutine?
I think because of this only *{$_[1]} is not getting replaced with other sub... Please advise
Thanks
In Section
Seekers of Perl Wisdom