If you do that, I shall come over and slap you though. {grin}use constant Class => 'My::Package::Class'; my $object = Class->new(...);
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to Re^2: Perl OO: switch package context.
by merlyn
in thread Perl OO: switch package context.
by sorhed
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |