Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Installing a new Perl on 1and1

by flexvault (Prior)
on Oct 15, 2012 at 14:45 UTC ( #999094=note: print w/ replies, xml ) Need Help??

in reply to Installing a new Perl on 1and1


Well, it sounds like you are trying to overcome some obstacles that 1and1 has put in place to prevent you from "killing" their server. Maybe a call to support would give you some "do and don't"s.

My advice is to eliminate your dependence on 'PATH' and use the fully qualified name for the Perl you want to use. For example:

1and1:> /kunden/homepages/XX/XXXXXXXX/htdocs/Perl-5.14/bin/perl5.14.2 +script.plx
should alway execute 'script.plx' if its in the current directory, but would be a pain to type each time, so what you need to find is the exact path (echo $PATH) to your home 'bin' and enter that in the following:
1and1:> ln -s /kunden/homepages/XX/XXXXXXXX/htdocs/Perl-5.14/bin/perl5 +.14.2 [path]/myperl
Now whenever you type 'myperl' you will get the '/kunden/homepages/XX/XXXXXXXX/htdocs/Perl-5.14/bin/perl5.14.2'. Make sure 'myperl' isn't already defined by doing a 'which myperl' and if it's defined, then pick a different name. I use 'pyrperl' which is rarely ever used.

If this doesn't work, you'll need to provide more information. While this is more of a Linux question, I'm glad you're using Perl and I think it is definitely Perl related.

Good Luck!

"Well done is better than well said." - Benjamin Franklin

Comment on Re: Installing a new Perl on 1and1
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2015-11-26 18:58 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (706 votes), past polls