develooper Front page | perl.module-authors | Postings from October 2007

Re: S/SA/SAPER/relative-0.02.tar.gz (feature request)

Thread Previous
From:
Adrian Howard
Date:
October 8, 2007 06:59
Subject:
Re: S/SA/SAPER/relative-0.02.tar.gz (feature request)
Message ID:
544A103C-CCD1-4017-8557-337CA339E648@quietstars.com

On 8 Oct 2007, at 11:28, Ovid wrote:
[snip]
> 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/

++ I like.

Adrian

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About