in reply to Writing/Debugging locally and then uploading
Easy. Treat your CGI programs like you would build an app in lower-level languages like C - use a Makefile!
Basically, all you need to do is to create Makefile entries for:
Then you just write your script, add it to the Makefile file entries, and say:
make test
If all is OK, you say:
make publish
Else you just say:
make debug
Ah, you are on Windows. Of course then you use "nmake" instead of "make".
Christian Lemburg
Brainbench MVP for Perl
http://www.brainbench.com
|
|---|