in reply to Perl OO: switch package context.

Please also note that no one who responded to this used the indirect object notation. It's ambiguous and I highly recommend that you avoid it in the future. (new is not a keyword: try Class->new( ... ) instead.)

Replies are listed 'Best First'.
Re^2: Perl OO: switch package context.
by ihb (Deacon) on May 15, 2005 at 19:31 UTC

    Or even better, use Class::->new and benefit from compile-time checks.

    ihb

    See perltoc if you don't know which perldoc to read!