Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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 ( #11118576=note: print w/replies, xml ) Need Help??


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

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

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

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

    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://11118576]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2020-12-05 09:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you use taint mode?





    Results (63 votes). Check out past polls.

    Notices?