No such thing as a small change | |
PerlMonks |
Re: Providing feedback to Web GUI (Mojolicious)by LanX (Saint) |
on Nov 16, 2013 at 12:31 UTC ( [id://1062884]=note: print w/replies, xml ) | Need Help?? |
OK I dunno which techniques are the "Mojo" way to do it. But if you normally printed the status to STDOUT why don't you simply redirect it now to a file? You could use a scheduled AJAX request to poll the infos there without needing any threads on the server side. Tip: formatting in JSON might help with multiple data fields.
Cheers Rolf ( addicted to the Perl Programming Language)
In Section
Seekers of Perl Wisdom
|
|