Well I decided to drop Dancer and go with Catalyst.
I read somewhere that Catalyst is the leading industry framework for Perl, and when I checked it out there is a seriously comprehensive tutorial for beginners that even includes a VM image with full testing / 'work with the tutorial' environment.
Within a couple of hours I had my Debian VM running, I downloaded Putty and had an SSH terminal services login, I had the first turtorial example 'Hello' web app running and my browser interacting with the 'Hello' application!
So far so good
Having gone through that process the penny started to drop as to how it worked, and as you say , my mindset was still old school perl, interpreted scripts running on an adhoc basis.
Now I realise that the main app runs all the time listening for HTTP requests such as GET/POST/DELETE etc.. and then they are some how routed to perform the required action.
I know I'm a long way from getting a real app working or even starting to understand the framework, but I've got far further with Catalyst than I did with RoR or Dancer!
I will still have to convert that to how I get it to work on IIS7 via Fast-CGI, whether it runs as a service, how you have multiple apps running (I assume they listen on different port numbers, rather than all on 3000), I need to understand how SSL works if not over 443, and how to fit it all together for MS SQL!
A lot to learn I know, but at least I have a working environment to play with Catalyst, and work through the tutorial and example apps to hopefully learn the framework.
Then I can work out how to configure the IIS7 server to run a Catalyst application.
Do you have any pointers for running on IIS7?
Is this an IIS7 forum question, even though it's about running Perl apps?
You advice is appreciated.