http://www.perlmonks.org?node_id=1038704


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

See also 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).