in reply to Re: Re: Re: Re: Passing a reference to a subroutine in a constructor
in thread Passing a reference to a subroutine in a constructor

...I wish that I could supply it dynamically in my code without the class having to know about it, though...

You could probably play some tricks with sub UNIVERSAL::AUTOLOAD {}

;-)

Liz

  • Comment on Re: Re: Re: Re: Re: Passing a reference to a subroutine in a constructor