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

Yes. I have "use Sort" (or its real equivalent) in the package.

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

DrSax

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

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Passing a reference to a subroutine in a constructor
by liz (Monsignor) on Aug 22, 2003 at 20:39 UTC
    ...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