Skip Menu |

This queue is for tickets about the aliased CPAN distribution.

Report information
The Basics
Id: 24930
Status: rejected
Priority: 0/
Queue: aliased

People
Owner: Nobody in particular
Requestors: mschwern [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.20
Fixed in: (no value)



Subject: use aliased qw(Foo::Bar) does not export alias()
use aliased qw(Foo::Bar); my $alias = alias "This::That"; The above will not work because aliased will not export alias() if you ask it to alias a module. It probably should although that leaves no way to tell aliased not to export alias(). A work around is to say "use aliased;" in addition to the above.
Sorry, I have to mark this as a "won't fix". These days I'm quite keen on conceptually simple ideas having simple interfaces and I strongly resist the pressure to pile more, and more, and more features into things until eventually we get damnable Swiss Army Knife modules with 37 attachments and people are afraid to use (I've had other requests for new features to this module, I might add). So either import 'alias' or alias the modules directly with 'use aliased' :) Cheers, Ovid