Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Best approach for temporarily swapping out a single perl module for a different version?

by 1nickt (Abbot)
on Jun 26, 2020 at 01:42 UTC ( #11118550=note: print w/replies, xml ) Need Help??


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

hi, try perlbrew lib.

Hope this helps!


The way forward always starts with a minimal test.
  • Comment on Re: Best approach for temporarily swapping out a single perl module for a different version?

Replies are listed 'Best First'.
Re^2: Best approach for temporarily swapping out a single perl module for a different version?
by nysus (Vicar) on Jun 26, 2020 at 19:22 UTC

    Thanks for the tip but I couldn't figure out how to use it, exactly. So I create a new lib with perlbrew lib create blah and then I switch to it but then what do I do from there?

    $PM = "Perl Monk's";
    $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest Vicar";
    $nysus = $PM . ' ' . $MCF;
    Click here if you love Perl Monks

      OK, think I see now. When you switch to new lib, it falls back to the lib for the installed version of perl in ~/perl5 if the module is not yet installed in the new lib. I think this might be a great solution. Glad I asked the question.

      $PM = "Perl Monk's";
      $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest Vicar";
      $nysus = $PM . ' ' . $MCF;
      Click here if you love Perl Monks

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11118550]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2020-12-05 10:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you use taint mode?





    Results (63 votes). Check out past polls.

    Notices?