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 reply to Re: Best approach for temporarily swapping out a single perl module for a different version?
by jcb
in thread Best approach for temporarily swapping out a single perl module for a different version?
by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |