Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Core module: Attribute::Handlers behaviour

by enigma (Novice)
on Oct 21, 2012 at 12:36 UTC ( #1000217=note: print w/ replies, xml ) Need Help??


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


Comment on Re: Core module: Attribute::Handlers behaviour
Select or Download Code
Re^2: Core module: Attribute::Handlers behaviour
by Anonymous Monk on Oct 22, 2012 at 09:12 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1000217]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (13)
As of 2015-07-01 20:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (19 votes), past polls