Sorry to come back to this after a long time, just migrating a couple of old CGI.pm apps to Dancer now... A question, can I use CGI; and instantiate a CGI object in the Dancer code within my routes to do a partial migration? Will the object behave properly and have the right HTTP information as if it were a regular CGI.pm app? best, Leandro On Thu, May 12, 2011 at 2:16 PM, WK <wanradt@gmail.com> wrote:
2011/5/12 Leandro Hermida <softdev@leandrohermida.com>:
I'm new to Dancer and to this list, happy very happy to now have a chance to learn and use Dancer at work. I have an existing app which is CGI.pm script-based and was wondering what is the best way as a first step to get these scripts to work under Dancer?
CGI.pm does not force any specific way to build your script, so there is no one right way to transform it to Dancer.
From other side Dancer does not force you to use some specific pattern besides giving pretty flexible frame to build up your routes. AFAIK.
So, depending your scripts it may be very easy to migrate or complete rewrite from scratch.
-- Wbr, Kõike hääd,
Gunnar