in reply to MakeMaker, h2xs, and writing CPAN modules

Over a year later, I feel like adding, for Googlers, what nobody seems to have mentioned (because it's too obvious?): perl's -I switch.
For one-time runs of scripts using a module in some special place, or a version different from the installed version:
perl -I/my/temp/lib myscript.pl
See perldoc perlrun.

Replies are listed 'Best First'.
Re: Re: MakeMaker, h2xs, and writing CPAN modules
by perrin (Chancellor) on Oct 24, 2003 at 17:29 UTC
    That doesn't solve the problem. The real issue is that h2xs makes a directory structure that doesn't actually work in place.