Skip Menu |

This queue is for tickets about the base CPAN distribution.

Report information
The Basics
Id: 28580
Status: open
Priority: 0/
Queue: base

Owner: Nobody in particular
Requestors: rjbs [...]

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)

Subject: I want to call import on base classes sometimes
Download (untitled) / with headers
text/plain 292b
Sometimes I subclass a plugin class which also offers exports for "utility" functions and have to write: use BaseClass ":extras"; use base 'BaseClass'; How about allowing something like: use base BaseClass => [ ':extras' ]; refs are not legal in args to base->import, atm. -- rjbs
Le 2007-07-31 14:23:46, RJBS a écrit :
Show quoted text
> How about allowing something like:
> use base BaseClass => [ ':extras' ];


Do you still want this in

Olivier Mengué - -
Download (untitled) / with headers
text/plain 265b
Tough question. I never use anymore, so I might want this in, but am pretty sure it would be rejected, as version checks were. So maybe if I want it in the future I'll submit a PR to but I never use base anymore Thanks! -- rjbs

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to