CGI-Application-Structured
view release on metacpan or search on metacpan
Run Your App
Before running your app you will need to export the CONFIG_FILE pointing
to your dev config file.
On linux you could use something like:
~/dev/MyApp1$ export CONFIG_FILE=/home/gordon/dev/MyApp1/config/config-dev.pl
On windows you could use something like:
C:\Users\gordon\dev\MyApp1: set CONFIG_FILE=C:\Users\gordon\dev\MyApp1\config\config-dev.pl
Run the server:
~/dev/MyApp1$ perl server.pl
access your default runmode at /cgi-bin/index.cgi
CGI::Application::Server: You can connect to your server at http://localhost:8060/
Open your browser and test at
http://localhost:8060/cgi-bin/index.cgi
( run in 0.248 second using v1.01-cache-2.11-cpan-87723dcf8b7 )