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

Just wondering: have you actually -use-d or -require-d the other packages?

I realize this is equivalent to asking whether the computer is plugged in, but you never know ;-)

Liz

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

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

      ...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