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/

Reply via email to