[Mojolicious] Re: websocket route that polls a database

2016-08-08 Thread Scott Wiersdorf
On Monday, August 8, 2016 at 9:20:09 PM UTC-6, Aaron wrote: > > Is there a way to do the database polling in a single loop that then sends > the notification out to all connected web socket clients? Does this need > to be set up as an entirely other application that does the polling and > then

[Mojolicious] Mojo::Template *returns* Mojo::Exceptions? Why doesn't it *throw* them?

2016-08-08 Thread Peter Valdemar Mørch
I'm just getting my feet wet with Mojolicious. One of the things I loved immediately was Mojo::Template, so I've started using it also outside of Mojolicious. I was very surprised to see error output on STDOUT without my $SIG{__DIE__} kicking in. So now I am curious as to why it returns