Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by 1nickt (Canon)
on Jun 26, 2020 at 01:42 UTC ( [id://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 (Parson) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11118550]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-24 01:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found