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.
Comment on Re: MakeMaker, h2xs, and writing CPAN modules