Re: testing CPAN-ability without CPAN?

[email protected] (Tyler MacDonald)
Newsgroups perl.cpan.discuss
Message-ID <[email protected]>
Andreas J. Koenig <[email protected]> wrote:
>   > module is or isn't there), I'd like to fool perl into thinking that those
>   > files aren't in @INC when they actually are. The best I've come up with for
>   > solving that, is to create another directory tree with empty files with the
>   > same names as the modules (tmp/Foo/Bar.pm, etc) and popping that onto
>   > @INC... is there a better way to do this that doesn't involve creating a
>   > bunch of stub files?
> 
> I'm not sure I can follow you, but did you consider
> 
>  @INC = ();

	But then ExtUtils::MakeMaker (or Module::Build) themselves won't be
able to be use()d....

		- Tyler
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.