anyevent Questions
4
Solved
We're building a large application with complex logic, which is composed of modules. I used to build larger scale methods of simpler methods, for instance,
# fig. 1
package Foo;
sub highlevel {
...
Sobriety asked 15/6, 2012 at 7:28
2
Solved
I have to write a script that get some URLs in parallel and do some work. In the past I have always used Parallel::ForkManager for such things, but now I wanted to learn something new and try async...
Meritocracy asked 27/4, 2016 at 18:56
1
Solved
I'm writing a master program for publishing message into a message queue (RabbitMQ). The program is written in Perl 5 and is using AnyEvent::RabbitMQ for the communication to RabbitMQ.
The followi...
Sarraceniaceous asked 12/8, 2015 at 13:0
1
Solved
I'm new to Perl 5 asynchronous processes and find it exciting that CPAN offers similar support that we can do in Node.js with AnyEvent, IO::Async, etc. However, the tutorial provides a few examples...
Idempotent asked 28/4, 2014 at 0:14
2
In a Mojolicious app, I'm trying to convert ODT files into HTML when a link is clicked. I convert the files by using "soffice", a shell command. Converting the files takes some time. I send status ...
Belonging asked 21/10, 2013 at 22:17
3
Solved
I'm working on creating a local service to listen on localhost and provide a basic call and response type interface. What I'd like to start with is a baby server that you can connect to over telnet...
2
Solved
How could I make "visible" the timer? This example returns (intependent from the sleep-time always) 2 (I expected something similar to the sleep-time).
#!/usr/local/bin/perl
use warnings;
use 5.01...
Tassel asked 28/7, 2011 at 6:40
1
© 2022 - 2024 — McMap. All rights reserved.