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

Re: Installing v5.8.4

by elwarren (Curate)
on Nov 01, 2004 at 21:22 UTC ( #404424=note: print w/replies, xml ) Need Help??


in reply to Installing v5.8.4

If you cannot control the environment on your machine, but you want your code to do something different, I suggest you use a batch file to launch your program. My connection at work is limited by the firewall. I use this batch file called fwrap.bat to run ppm to install modules. Just run "fwrap ppm" or "fwrap perl script.pl" and it will and it will setup your environment.

@echo off set PATH=C:\myperl\bin;%PATH%; set HTTP_PROXY_USER=SECRETUSERNAME set HTTP_PROXY_PASS=SECRETPASSWORD set http_proxy="http://%HTTP_PROXY_USER%:%HTTP_PROXY_PASS%@firewall.wo +rk.com:8080" set https_proxy="http://%HTTP_PROXY_USER%:%HTTP_PROXY_PASS%@firewall.w +ork.com:8080" set ftp_proxy="http://%HTTP_PROXY_USER%:%HTTP_PROXY_PASS%@firewall.wor +k.com:8080" %1 %2 %3 %4 %5 %6 %7 %8 %9
Update the path variable to point to the directory holding the actual Perl executable you want to run.

HTH

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://404424]
help
Chatterbox?
[erix]: (oops, no dash)
[karlgoethebier]: isn't the earth flat?
[LanX]: kgb only when confirmed by Fox news

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2017-10-24 12:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (289 votes). Check out past polls.

    Notices?