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