[dancer-users] Migrating CGI.pm-based code to Dancer2

WK wanradt at gmail.com
Mon Aug 31 23:27:25 BST 2015


P
01.09.2015 12:48 AM kirjutas kuupäeval "Amelia Ireland" <aireland at lbl.gov>:

>
> (  Capturing STDOUT feels like a dirty solution--I'd much sooner the app
returned data that could be used to populate templates--but it's really the
only viable option at the moment.

If your legacy CGI code uses print all the way, you could replace
CORE::print with a local gatherer function. How it feels
? It seems much clearer to me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20150901/8bd41915/attachment.html>


More information about the dancer-users mailing list