Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

This queue is for tickets about the Class-Autouse CPAN distribution.

Report information
The Basics
Id: 13786
Status: resolved
Worked: 5 min
Priority: 0/
Queue: Class-Autouse

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

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



Subject: Handle import strings
Download (untitled) / with headers
text/plain 451b
Some class modules take import strings. For example "use CGI qw(-debug)". It would be nice if Class::Autouse supported this. Class::Autouse->autouse_import(CGI => qw(-debug)); Autouse would remember the import string and use it when autousing the module. eval { CORE::require $class; if( exists $Imports{$class} ) { $class->import(@{$Imports{$class}}); } } This feature allows rt.cpan.org 13784.


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.