Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^7: Dynamic Package Name & Subroutine Call

by ikegami (Pope)
on Dec 19, 2012 at 12:46 UTC ( #1009556=note: print w/ replies, xml ) Need Help??


in reply to Re^6: Dynamic Package Name & Subroutine Call
in thread Dynamic Package Name & Subroutine Call

That has always searched main's inheritance tree in the case where &main::fudge didn't exist, and that's not the right thing for subs.


Comment on Re^7: Dynamic Package Name & Subroutine Call
Re^8: Dynamic Package Name & Subroutine Call
by Anonymous Monk on Dec 21, 2012 at 03:42 UTC

    That has always searched main's inheritance tree in the case where &main::fudge didn't exist, and that's not the right thing for subs.

    Sure, but setting up an inheritance tree for main is the bug :)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2015-01-31 23:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (261 votes), past polls