You need to configure your CPAN client to deal with your employers network restrictions. See the CPAN documentation, the section titled 'WORKING WITH CPAN.pm BEHIND FIREWALLS'. At work our clients don't have direct internet access, I use CPAN::Mini (see also minicpan) to create a customised mirror of CPAN, then transfer it to the client network.
| [reply] |
Any hint will be appreciated!
I guess your question is "Installing modules on windows using strawberryperl and CPAN without internet connection?"
Its all about cpan configuration
One option configure cpan to use the internet ...
Another is to carry the CPAN with you ... minicpan ... then tell cpan to use your local minicpan mirror
Also use Portable strawberryperl release ... its like perl on a USB stick, its Portable
| [reply] |
"...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»
| [reply] [d/l] |
| [reply] |
| [reply] [d/l] |
I am wondering if there is a similar procedure I can implement with Strawberry Perl in this particular setting
You can, if you wish, download the source of a module from metacpan or cpan, unpack it, cd to the top level source folder and run 'perl Makefile.PL', 'dmake test', and 'dmake install' (or equivalent Module::Build replacements if there's no Makefile.PL).
This is a method that I still use often, though it becomes rather tedious if the module you're trying to install has a long chain of (uninstalled) pre-requisite modules.
Cheers, Rob | [reply] |
Oh wisest monks! It is with a great pleasure that I here report back to you, telling with great thankfullness that by the good fortune brought by your advice I was able to go through the gates of proxies and other internet mysteries at $work! ;-)
The story of how I came by the proxy address is too long to tell. Suffice to say that it wasn't easy and got solved by a quote of serendipity. It was a big bliss to see CPAN downloading and installing packages.
Again, thanks to you all!
| [reply] |