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.
sisyphus-sis@debian-sis:~$ echo $PATH
sisyphus-sis@debian-sis:~$ which perl
sisyphus-sis@debian-sis:~$ perl -le 'print $^X'
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
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link or
or How to display code and escape characters
are good places to start.