Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: running cgi scripts locally

by rlucas (Scribe)
on May 24, 2005 at 13:24 UTC ( [id://459948]=note: print w/replies, xml ) Need Help??


in reply to running cgi scripts locally

If you have relatively simple CGI scripts on Windows, a tool called "OptiPerl" from Xarka has most of an IDE, plus a mini-webserver that allows you to view the outputs as web pages. I haven't been down the road of reevaluating *nix Perl IDEs lately (although I imagine there are some good plugins for NetBeans and Eclipse by now; I've been sticking to the "Unix IS the IDE" mentality), but I know from working with NetBeans and Eclipse for Java that they do offer something similar.

Once you start getting complicated enough, it makes sense to just to write a script to set up your development environment and require that Apache (or whatever) be a part of that.

Something we often do for testing is set up a single-instance webserver on a nonprivileged port; this is generally enough for day to day, and as long as it's actually CGI and not mod_perl or similar, you can use a very low key webserver. Of course, there's nothing like testing in the exact environment in which you anticipate deployment.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://459948]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-19 05:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found