Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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 ( #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 (Parson) 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
Domain Nodelet?
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 scrutinizing the Monastery: (3)
As of 2022-05-25 04:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (84 votes). Check out past polls.

    Notices?