Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Surreptitiously adding modules to GoDaddy basic Linux account?

by OfficeLinebacker (Chaplain)
on Apr 20, 2013 at 15:44 UTC ( [id://1029652]=perlquestion: print w/replies, xml ) Need Help??

OfficeLinebacker has asked for the wisdom of the Perl Monks concerning the following question:

Greetings, esteemed monks!

So I have access to a GoDaddy basic Linux hosting account and I'd like to make a geohashing web app for mapping the history of all geohash points for a given date range. I've implemented a command line script to do it but I'd like to make a web form.(Click here for more info on Geohashing)

The script uses the Geo::Hash module. GoDaddy advertises that the user cannot add modules to the server. However in my murky memory of how Perl modules work, shouldn't I be able to install modules manually to a different location within the area to which I have access and still use them?

Here's a link to GoDaddy's page on Perl modules.


I like computer programming because it's like Legos for the mind.

Replies are listed 'Best First'.
Re: Surreptitiously adding modules to GoDaddy basic Linux account?
by Laurent_R (Canon) on Apr 20, 2013 at 17:39 UTC

    Hi,

    you can use something like:

    use lib "my_home_dir/lib"; # other uses of locally installed modules here

    Then all you have to do is to install your Perl modules in the directory "my_home_dir/lib", and the Perl compiler will find them.

    Have a look at http://perldoc.perl.org/lib.html.

Re: Surreptitiously adding modules to GoDaddy basic Linux account?
by ww (Archbishop) on Apr 20, 2013 at 19:15 UTC

    No, not while compling with GoDaddy's TOS. Strictly speaking, of course, you can; but the provider says -- probably enforceably -- that you MAY NOT in this document.


    If you didn't program your executable by toggling in binary, it wasn't really programming!

      This is of course a matter of legal interpretation of the terms and conditions and I am not and don't claim to be a lawyer (even though I do have some experience in legalese matters), but if you have the right to install your own programs into YOUR environment, I fail to see any reason why you would not have the right to also install your own modules in that same environment of yours, whether your own modules have been created by you or come from the CPAN (or any other source).

      So long as you don't pollute the environment that they make available to every user, there should not be any problem in my view.

        What is unclear in "No, you cannot add additional Perl Modules to the server"?

        Written in this way it even stops you from adding your own modules.

        A good case can be made that this is indeed part of the contractual agreement that allows you on their server. I agree that it is a strange rule, but "pacta sunt servanda" and not even a court can set a clear contractual clause that does not need any construction and does not break any laws, aside.

        CountZero

        A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

        My blog: Imperial Deltronics
Re: Surreptitiously adding modules to GoDaddy basic Linux account?
by Anonymous Monk on Apr 20, 2013 at 16:00 UTC
Re: Surreptitiously adding modules to GoDaddy basic Linux account?
by Anonymous Monk on Apr 20, 2013 at 20:37 UTC
    Nonsense ... GoDaddy won't allow you to change their environment, but you don't have to do that in order to successfully use yours.
        Different guy here, I do believe that is erroneous entry -- if I were OP i'd ask for clarification

      Then I withdraw my objection/comment ... I really don’t know how to read what they are saying.

      In any case, with regard to the one shared-hosting account that I still (for the moment) use, I observe that the hosting company has over time rather drastically reduced the memory ulimit of the account to the point that it is barely useless.   It can no longer run the cpan command at all, although it can still run cpanm.   It’s of such low priority to me that I just haven’t gotten around to deep-sixing this one yet, but when I do, I’ll shake the dust of their town off of my sandals.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1029652]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-03-19 03:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found