Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Reference to a method within Object::InsideOut/parent class

by alexm (Chaplain)
on Jul 06, 2008 at 17:49 UTC ( [id://695841] : note . print w/replies, xml ) Need Help??


in reply to Reference to a method within Object::InsideOut/parent class

Obviously, I should be able to replace the anonymous subroutine with a straight reference to set_foo.
IIRC, using references to object methods conflicts with inheritance, so friedo's suggestion seems the way to go.
  • Comment on Re: Reference to a method within Object::InsideOut/parent class