in reply to Best approach for temporarily swapping out a single perl module for a different version?

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.

  • Comment on Re: Best approach for temporarily swapping out a single perl module for a different version?
  • Download Code

Replies are listed 'Best First'.
Re^2: Best approach for temporarily swapping out a single perl module for a different version?
by tobyink (Canon) on Jun 27, 2020 at 07:12 UTC