nmork has asked for the wisdom of the Perl Monks concerning the following question:

I have strawberry Perl (working) on my Laptop. I need to SFTP a copy to a server I am using WHICH DOES NOT HAVE INTERNET ACCESS and therefore cannot have do a "normal" strawberry perl installation. 1. copied the perl directory (no c or cpan directories) 2. set the path to the perl bin directory location 3. typed "perl -v" to verify working 4. got cryptic "access denied" message Do I need to SFTP more? What's the minimum I need?
NEVER MIND. Used cygwin to chmod +x *.dll *.exe did it. Sorry for taking up the screen space (sheepish grin.)

Replies are listed 'Best First'.
Re: Strawberry Perl
by dasgar (Priest) on Apr 26, 2013 at 20:29 UTC

    If you copy over the normal installation file, you should be able to install without any access to the internet. Adding additional modules can be more tricky.

    An alternative would be to download the portable version of Strawberry Perl, which is used by running a batch file that launches a command prompt and sets the environment variables for that new command prompt with the information needed to use the portable Strawberry Perl. If you use this on the system that has access to both the internet and the isolated system, you can use that system to install additional modules and the copy over the additional files to the isolated system. (Or zip up the whole thing, send that over to the isolated system and then unzip it. Which ever method that you find more convenient to use.)

    If you have physical access to the isolated system, you can also put portable Strawberry Perl on a USB stick drive. Then you just move the stick drive to a system with internet access to install new modules when needed and move it back.