in reply to Re: Perl OO: switch package context.
in thread Perl OO: switch package context.

Why the heck did you use overload instead of just exporting PKG():

   PKG("..::Class")->new;

-sam

Replies are listed 'Best First'.
Re^3: Perl OO: switch package context.
by nothingmuch (Priest) on May 16, 2005 at 11:34 UTC
    I dunno... It's not like I'm going to use this code anyway...

    I thought that __PACKAGE__ like semantics could be cool ;-)

    -nuffin
    zz zZ Z Z #!perl