Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^2: How to run perl5.21.3 as "perl"

by syphilis (Archbishop)
on Aug 18, 2014 at 11:37 UTC ( #1097834=note: print w/replies, xml ) Need Help??

in reply to Re: How to run perl5.21.3 as "perl"
in thread How to run perl5.21.3 as "perl"

I was half expecting it might have been something obvious that I was missing.
Something in your reponse made me suddenly think "hang on ... I'm doing this over an ssh connection". So I decided to see whether the same problem existed when I sat at the computer's terminal (using identical path) and accessed it directly ... and it didn't !! Everyting works as expected when I'm sitting at the terminal.

But what makes it even weirder is that I have other perls under ~, and those perls *are* accessible as "perl" over the ssh connection.
For example:
sisyphus-sis@debian-sis:~$ echo $PATH /home/sisyphus-sis/perl520-m64-multi/bin:/usr/local/bin:/usr/bin:/bin: +/usr/local/games:/usr/games sisyphus-sis@debian-sis:~$ which perl /home/sisyphus-sis/perl520-m64-multi/bin/perl sisyphus-sis@debian-sis:~$ perl -le 'print $^X' /home/sisyphus-sis/perl520-m64-multi/bin/perl sisyphus-sis@debian-sis:~$
No problems with that (or any of the 7 other installations of) "perl" over the ssh connection. It's just the bleadperl that won't play ball.
Thanks for the reply tobyink


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2022-09-25 02:49 GMT
Find Nodes?
    Voting Booth?
    I prefer my indexes to start at:

    Results (116 votes). Check out past polls.