Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: ->SUPER::hi relies on __PACKAGE__ ? (monkeypatching) Can't locate object method "hi" via package "main::SUPER"

by choroba (Bishop)
on Jun 13, 2013 at 07:41 UTC ( #1038704=note: print w/replies, xml ) Need Help??


in reply to ->SUPER::hi relies on __PACKAGE__ ? (monkeypatching) Can't locate object method "hi" via package "main::SUPER"

See also SUPER.
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
  • Comment on Re: ->SUPER::hi relies on __PACKAGE__ ? (monkeypatching) Can't locate object method "hi" via package "main::SUPER"

Replies are listed 'Best First'.
Re^2: ->SUPER::hi relies on __PACKAGE__ ? (monkeypatching) Can't locate object method "hi" via package "main::SUPER"
by james2vegas (Chaplain) on Jun 13, 2013 at 08:50 UTC
    I wonder why SUPER has never implemented an AUTOLOAD mechanism for a 'super' package so you can do something like $obj->super::method (i.e. super package access at run time with a similar syntax).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1038704]
help
Chatterbox?
NodeReaper selects a flavor of Kool-Aid

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2017-12-14 17:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (400 votes). Check out past polls.

    Notices?