http://www.perlmonks.org?node_id=1110903


in reply to Re^4: real-time output from Mojolicious WebSockets?
in thread real-time output from Mojolicious WebSockets?

oh right, the output is
Connection open. 12/19/2014, 8:30:17 PM : Entering log4. 12/19/2014, 8:30:17 PM : Leaving log4. **pause here** 12/19/2014, 8:30:19 PM : Entering myapp. 12/19/2014, 8:30:19 PM : 0...Fri Dec 19 20:30:19 2014 12/19/2014, 8:30:19 PM : 1...Fri Dec 19 20:30:19 2014 12/19/2014, 8:30:19 PM : 2...Fri Dec 19 20:30:19 2014 12/19/2014, 8:30:19 PM : 3...Fri Dec 19 20:30:19 2014 12/19/2014, 8:30:19 PM : Leaving myapp. 12/19/2014, 8:30:19 PM : after 3 0...Fri Dec 19 20:30:19 2014 **pause here** 12/19/2014, 8:30:22 PM : after 3 1...Fri Dec 19 20:30:22 2014 **pause here** 12/19/2014, 8:30:25 PM : after 3 2...Fri Dec 19 20:30:25 2014 **pause here** 12/19/2014, 8:30:28 PM : after 3 3...Fri Dec 19 20:30:28 2014
naturally it pauses at **pause here**

proc background if you're doing something which you can't fanagle into cooperative multitasking