in reply to Providing feedback to Web GUI (Mojolicious)

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)

  • Comment on Re: Providing feedback to Web GUI (Mojolicious)