Home: Perl Programming Help: Intermediate:
perl cgi monitoring application

New User

Aug 10, 2012, 8:49 PM

Views: 3027
perl cgi monitoring application

I have a script that constantly checks a directory for updated xml files, and then when there is a updated xml file it produces a pdf using the data contained in the xml file. This application has been working for a while without any issues.

Now I am wanting to put a front end CGI script on it so that every time it processes a xml file it logs it on the CGI front-end. I also need the front-end to know if the script is still running or whether it has ended due to an error, or for whatever reason, along with it being able to stop and start the back-end script.

I don't know where to begin to create a front-end like this. Does anyone have any ideas or articles I could read for how to do this?


Aug 11, 2012, 7:12 PM

Views: 3009
Re: [hyperion] perl cgi monitoring application

Look in to the web frameworks Dancer for one it comes with PLACK a web server. So u can runn the CGI script with out haveing to setup a web server unless u have a web server alrdy to use this with