Problems? Is your data what you think it is? | |
PerlMonks |
Re: Best approach for temporarily swapping out a single perl module for a different version?by jcb (Parson) |
on Jun 25, 2020 at 23:34 UTC ( [id://11118547]=note: print w/replies, xml ) | Need Help?? |
Other monks have mentioned a few solutions, but a big question is "how temporary?" You could put the special version of the module in its own directory and use the -Idir option when you want to use that version. Then perl will look in that directory before the regular @INC, find the special version first, and load it.
In Section
Seekers of Perl Wisdom
|
|