Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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


Comment on Re: Installing v5.8.4
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2014-12-21 01:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (100 votes), past polls