Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Using Perlbrew macOS impossible to install distributions

by kcott (Archbishop)
on Nov 27, 2017 at 20:40 UTC ( [id://1204359]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Using Perlbrew macOS impossible to install distributions
in thread Using Perlbrew macOS impossible to install distributions

G'day Karl,

I read what you've written several times but the point you're trying to make eludes me. I was particularly stumped by your final words: "Very strange...".

The OP shouldn't need to manually source '~/perl5/perlbrew/etc/bashrc' in order to use Perlbrew. Doing this will set up environment variables such as you've shown, but only in the current shell. It's a tedious task that's easy to forget and therefore error-prone: hence my suggestion to set up something similar to my '.bash_profile' and '.bashrc'.

I set all this up for myself years ago and haven't needed to change anything since. While I don't remember specifics, I do recall all instructions came from Perlbrew documentation: I didn't need to seek out secret incantations in dark corners of the Internet.

For what it's worth, except for some obvious and expected differences (e.g. s/karl/ken/), my environment looks very similar to yours.

— Ken

Replies are listed 'Best First'.
Re^4: Using Perlbrew macOS impossible to install distributions
by karlgoethebier (Abbot) on Nov 28, 2017 at 08:56 UTC
    "I set all this up for myself years ago and haven't needed to change anything since"

    Like me. It was a "Fire And Forget" task.

    My .bashrc is empty.

    My .bash_profile:

    karls-mac-mini:~ karl$ cat .bash_profile source ~/perl5/perlbrew/etc/bashrc export JAVA_HOME=$(/usr/libexec/java_home)

    My perlbrew bashrc:

    I did nothing related to perlbrew "by hand".

    Best regards, Karl

    «The Crux of the Biscuit is the Apostrophe»

    perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-26 07:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found