View Full Version : running a script from command line?
Hey guys...
how do i run a (.pl) file from command line?
thank you very much?
Yakisoba
03-15-2005, 04:04 AM
cd to the folder where the .pl file you want to run is kept.
then type: perl filename.pl
where do i type all this?
Yakisoba
03-15-2005, 06:00 AM
if you are using windows...
in the start menu select "run"
type "cmd" in the textbox and hit enter.
the command prompt window will pop up.
but that will run it only on my computer and not my webserver right? how do i run it on my webserver using a command line.
i tried using ms dos and ftp-ed my server and tried
"perl sciptname.pl"
but i get "invaild command"
thanks for all the help
Yakisoba
03-15-2005, 06:15 AM
I'm not sure if this is what your looking for...
Try this link, it is a short tutorial on uploading and running perl scripts from command line.
http://www.pageresource.com/cgirec/ptut2.htm
Got it!
thanks for all your help!
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.