Skip Menu |

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

Report information
The Basics
Id: 86132
Status: new
Priority: 0/
Queue: Module-Loaded

People
Owner: Nobody in particular
Requestors: perl-cpan [...] bereft.net
Cc:
AdminCc:

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



Subject: import version -MModule::Loaded=This,That=2.0
Hello there, I was hoping there would be an import method that called mark_as_loaded on it's parameters. This would be convenient for use with -M and PERL5OPT. Module::Mask appears to have a feature along these lines for it's use case: http://search.cpan.org/~mattlaw/Module-Mask-0.06/lib/Module/Mask.pm#import I wanted to be able to pretend modules were there during automated installation, so that problematic but optional modules would not be required (although I suspect that this would result in failing tests anyway). I'm not sure if a fake $VERSION would also be useful or not. Thanks. I hope this idea is useful, Brad