Skip Menu |

This queue is for tickets about the Module-PrintUsed CPAN distribution.

Report information
The Basics
Id: 48573
Status: resolved
Priority: 0/
Queue: Module-PrintUsed

People
Owner: crenz [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.03
Fixed in: 0.05



Subject: Warnings with autosplitted modules
If Module::PrintUsed is used with an autosplitted module e.g. Storable perl -MModule::PrintUsed -MStorable -e1 then warning occur: Bareword found where operator expected at (eval 8) line 1, near "8.8::mach::auto ::Storable::autosplit" (Missing operator before ::mach::auto::Storable::autosplit?) It seems that this can be ceased by putting a "no warnings" before the eval statement in ModulesList(). Regards, Slaven
Thanks for the hint. I've used your suggestion and encapsulated embedding the modules into a block where warnings are disabled.