On Sat, 19 Mar 2005 13:37:17 +0200, Octavian Rasnita wrote: > > And I don't like to use Package::Name directly because I might need to > change its name and then I would need to change that name in many places. >
So place the package name in a variable, and use that variable in all places. Then you have only 2 places to change - the actual package declaration, and the variable declaration: package Package::Name use strict; use warnings; my $class = "Package::Name"; Hope this helps, -- Offer Kaye -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>