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

Re: Installing modules in Windows (Strawberry Perl) without administrator privileges

by karlgoethebier (Abbot)
on Mar 28, 2015 at 16:36 UTC ( [id://1121672]=note: print w/replies, xml ) Need Help??


in reply to Installing modules in Windows (Strawberry Perl) without administrator privileges

"...a very conservative organization...CPAN fails to connect to the internet...

I guess they got a proxy.

As a first hint in a hurry: Please see Using CPAN with a proxy as well as http_proxy for further inspiration. Note: Using ActiveState Perl one needs to set the http_proxy environment variable to solve this issue but I don't how it's with Strawberry.

Best regards, Karl

P.S.: Unfortunately figuring this out may be a pain in the ass.

«The Crux of the Biscuit is the Apostrophe»

  • Comment on Re: Installing modules in Windows (Strawberry Perl) without administrator privileges
  • Download Code

Replies are listed 'Best First'.
Re^2: Installing modules in Windows (Strawberry Perl) without administrator privileges
by Anonymous Monk on Mar 29, 2015 at 02:25 UTC
      "...env vars are still just env vars..."

      Sure, no doubt.

      But do you know if Strawberry cares about http_proxy - as ActiveState does?

      As i wrote in fairness: I don't know it. Looking at the links you provided doesn't clarify this.

      Regards, Karl

      «The Crux of the Biscuit is the Apostrophe»

        I haven't looked into that specifically, but the more recent releases of Strawberry Perl includes App::cpanminus. So someone could easily put a copy of portable Strawberry Perl and a minicpan onto a USB drive, which would let you use Perl on any Windows system and use cpanm to install any needed additional modules. Going that route, there is no need for a network connection or needing to deal proxy settings or even needing to "install" Perl.

        But do you know if Strawberry cares about http_proxy - as ActiveState does?

        ActiveState and Strawberry are still just perl -- they don't care about "http_proxy" specifically

        CPAN/PPM/LWP... might care, but they always care regardless of what flavor of perl you're using

        https://metacpan.org/pod/CPAN#WORKING-WITH-CPAN.pm-BEHIND-FIREWALLS

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-07-24 13:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.