--- Sébastien Aperghis-Tramoni <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> The version 0.02 of relative.pm is now available on the CPAN.
> Thanks to everybody who suggested improvements.
> (And it still works on Perl 5.004 :-)

I like the idea of this module.  Lots of people like the idea of
'aliased'.  Would it be worth combining the two?

  use My::Enterprise::Framework;
  use relative -aliased => qw(Customer Report);

  # instead of:
  # my $customer = My::Enterprise::Framework::Customer->new($id);
  # use:
  my $customer = Customer->new($id);

http://search.cpan.org/dist/aliased/

Cheers,
Ovid

--
Buy the book  - http://www.oreilly.com/catalog/perlhks/
Perl and CGI  - http://users.easystreet.com/ovid/cgi_course/
Personal blog - http://publius-ovidius.livejournal.com/
Tech blog     - http://use.perl.org/~Ovid/journal/

Reply via email to