Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Get https simple solution desired

by sundialsvc4 (Abbot)
on May 31, 2018 at 21:25 UTC ( [id://1215585]=note: print w/replies, xml ) Need Help??


in reply to Get https simple solution desired

I am not directly familiar with Yahoo’s server offering, but what exactly is the roadblock that you are now experiencing?   In your original post, you never actually say.

If you are able to run Perl there but are having trouble “uploading the necessary modules,” perhaps this is simply another manifestation of the usual problems of running Perl in a shared-hosting environment.   (There are plenty of web-pages on that, here and elsewhere.)   While you cannot update the host’s set of installed libraries, you can create a new subdirectory, point the local cpan(m) command to it, install CPAN packages there, and arrange for that library to occur in the PERL5LIB library search list when your application runs.   When you do this, Perl will see your locally-installed packages first.

Again, what you need to add ... as a reply, please ... is exact details of what you have tried and what is the roadblock as you now see it.   I am quite sure that you will receive an immediate helpful response here once these details have been given.

Replies are listed 'Best First'.
Re^2: Get https simple solution desired
by stevieb (Canon) on May 31, 2018 at 23:03 UTC

    For once, I have to commend you.

    This is actually a situation where no code need-be supplied, so we'll get that facet out of the way right off the bat.

    You've given reasonably decent potential direction to OP in a sane and orderly way, and it isn't off-the-charts ridiculous with far too much HTML emphasis.

    A point of advice here though for your own information... if one installs Perlbrew (assuming a Unix system, berrybrew for Windows), most, if not all of the hack-type requirements of setting environment variables and such while installing become irrelevant, obsolete and not required.

    Cheers,

    -stevieb

      "While you cannot update the host’s set of installed libraries, you can create a new subdirectory, point the local cpan(m) command to it, install CPAN packages there, and arrange for that library to occur in the PERL5LIB library search list when your application runs. When you do this, Perl will see your locally-installed packages first."

      What you say makes sense, but I don't have access to the server... It's a Yahoo Small Business server and all I can do is FTP files up...

      What I do to get perl modules uploaded is first run the package on my laptop installation of cygwin with perl as follows:

       cpanm -vf --local-lib /home/dirname/perl5 LWP::Protocol::https

      This forces installation into a directory I can control vs. cpan updating a directory that was installed as a package with the perl installation.
      Then I use FileZilla to upload to a directory I create to hold all the perl modules my code needs to run.

      Then place code in the perl .pl file to
       use lib "../lib4";
      Which puts my path to the front of the path list.

      Thank you very much for your help...

      A point of advice here though for your own information... if one installs Perlbrew (assuming a Unix system, berrybrew for Windows), most, if not all of the hack-type requirements of setting environment variables and such while installing become irrelevant, obsolete and not required.

      Well thats simply not true and you know it

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-25 12:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found