in reply to Re: (tye)Re: Possible Stupid Perl Trick - Importing method into object class?
in thread Possible Stupid Perl Trick - Importing method into object class?

Well another alternative I proposed elsewhere was:

package My::ProcessC; BEGIN { push @DataType::ISA, __PACKAGE__; }
This is "reverse inheritance" (:

        - tye (but my friends call me "Tye")
  • Comment on (tye)Re2: Possible Stupid Perl Trick - Importing method into object class?
  • Download Code

Replies are listed 'Best First'.
Re^3: Possible Stupid Perl Trick - Importing method into object class?
by Aristotle (Chancellor) on Dec 10, 2001 at 05:30 UTC
    tye++, but I posted because I felt a ++ was not enough here. Good thinking!