Jump to content

Running a Perl file on a server through CMD


Mok

Recommended Posts

I have placed a Perl script into the CGI Bin on my web server and would like to run through Command Prmomt on my computer, can some one help me do this, like what should I type into command prompt, I have looked up a few version, but some do not seem to work,

 

 

Please help, thanks,

 

 

Mok

#1 Install Perl (on linux it is probably already installed, on windows just google Active Perl)

 

#2 Run the following to confirm perl is installed (you should get a bunch of info back about perl):

perl -v

 

#3 Run the perl script:

perl /path/to/the/perlfile.cgi

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.