|Perl Monk, Perl Meditation|
Re: Installing a new Perl on 1and1by flexvault (Prior)
|on Oct 15, 2012 at 14:45 UTC||Need Help??|
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:
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:
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.
"Well done is better than well said." - Benjamin Franklin