Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: typeglob reference deletes global lexical

by dragonchild (Archbishop)
on Nov 07, 2008 at 22:13 UTC ( #722308=note: print w/ replies, xml ) Need Help??


in reply to typeglob reference deletes global lexical

It looks like you're trying to get a subref for a method. Hence, the use of $proto->package_name. A much simpler solution is my $subref = $proto->can( $name );


My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?


Comment on Re: typeglob reference deletes global lexical
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2014-12-27 23:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls