Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: Installing a new Perl on 1and1

by flexvault (Monsignor)
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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://999094]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2018-06-19 04:39 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (111 votes). Check out past polls.