in reply to Re^6: Perlbrew installing perl failed
in thread Perlbrew installing perl failed

Hi CountZero

Um, $PATH is a variable, unless you write it down it only affects the current shell instance (works same for windows and %PATH%/cmd.exe )

Child processes get a copy of parents $PATH/%ENV

"automatic" scripts aren't spawned from existing shell instances... they often aren't spawned with %ENV initialized from .profile at all ( sourcing a shell script/.profile and importing into %ENV )

Replies are listed 'Best First'.
Re^8: Perlbrew installing perl failed
by CountZero (Bishop) on May 19, 2015 at 06:44 UTC
    Thank you! That made it clear. I'm probably still too much rooted in the old MSDOS-world where the shell was really the only thing you had and everything was affected by it.

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

    My blog: Imperial Deltronics