how is it different from Package::Alias?
On Thu, 6 Jan 2005 22:48:50 -0800 (PST), Ovid <[EMAIL PROTECTED]> wrote: > Since absolutely no one could agree on the name, I went ahead and > uploaded the module as 'aliased'. Right now, 0.1 is available on the > CPAN, but .11 is on its way. The code is the same, but I accidentally > uploaded it before I had finished the docs. > > The interface is slightly different, too. > > # implicit alias: > use aliased 'Some::Long::Module::Name'; > > # explicit alias: > use aliased 'Some::Long::Module::Name' => 'Name'; > > # import lists require using explicit aliasing: > use aliased 'Some::Long::Module::Name' > => 'Name, qw/foo bar baz/; > > # and all of the above allow you to call class methods > # on the alias: > my $new_name = Name->new; > my $old_name = Name->search($id); # etc. > > Thanks for all of the suggestions. > > Cheers, > Ovid > > ===== > Silence is Evil > http://users.easystreet.com/ovid/philosophy/decency.html > Ovid http://www.perlmonks.org/index.pl?node_id=17000 > Web Programming with Perl http://users.easystreet.com/ovid/cgi_course/ > -- David L Nicol You're striving for harmony, and, if you try to take too much, you'll come to grief. -- Michael Redmond
