Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: "Installed" Perl 5.34 , sort of

by kcott (Archbishop)
on May 19, 2022 at 01:50 UTC ( #11143992=note: print w/replies, xml ) Need Help??


in reply to Re^2: "Installed" Perl 5.34 , sort of
in thread "Installed" Perl 5.34 , sort of

"... you should be using use (changes that shell only), ..."

use is an option; not a requirement. Fix with: s/should be using/can also use/ (or similar).

"... not switch (changes all shells)."

That's incorrect. Fix with: s/changes all shells/changes subsequent shells/ (or similar). Below, I show starting two shells both using 5.34 — I change to 5.32 in the second shell; the first shell remains at 5.34; after that I start a third shell which uses 5.32.

$ # Shell A $ perlbrew list * perl-5.34.0 perl-5.33.5 perl-5.32.0 perl-5.30.0 $ # perlbrew switch in Shell B $ perlbrew list * perl-5.34.0 perl-5.33.5 perl-5.32.0 perl-5.30.0
$ # Shell B $ perlbrew list * perl-5.34.0 perl-5.33.5 perl-5.32.0 perl-5.30.0 $ perlbrew switch perl-5.32.0 $ perlbrew list perl-5.34.0 perl-5.33.5 * perl-5.32.0 perl-5.30.0
$ # Shell C $ perlbrew list perl-5.34.0 perl-5.33.5 * perl-5.32.0 perl-5.30.0

— Ken

Replies are listed 'Best First'.
Re^4: "Installed" Perl 5.34 , sort of
by ikegami (Patriarch) on May 19, 2022 at 13:29 UTC

    use is an option; not a requirement.

    Well yeah. And I was saying it's the one that should have been used here.

    Fix with: s/changes all shells/changes subsequent shells/ (or similar)

    Yeah, since .bashrc is only executed on startup. I'll clarify.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2022-08-07 19:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?