http://stackoverflow.com/questions/2232471/how-do-i-use-async-programming-in-perl

http://search.cpan.org/~mlehmann/AnyEvent-7.07/lib/AnyEvent.pm

Hope that helps you get started.

Good luck. :)

Regards,

Carl

On 13 November 2014 15:44, mailing lists <listas.cor...@yahoo.es> wrote:

> Hello all,
>
> I have a little home proyect to learn programming using a raspberry with
> lirc (Lirc::Client), the music player daemon (Net::MPD) and lcdproc (
> Net::LCDproc), each component works individually, but now I need glue all
> this parts and the problem is that I am not sure on how to do it.
>
> I think I need something called event programming to process lirc
> keypresses in a non-blocking way, receive notifications from mpd (idle
> method) which blocks until a change is detected for which I think I need a
> child process and communication with the parent process via ipc or there is
> any other way?, also I constantly need update the display synchronously
> with play time, current song and asynchronously events like volume up,
> volume down. I hope I explained well.
>
> It can be a basic question but I would very grateful if someone could give
> me some "high" level advise on how to do it with perl.
>
>
>
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>
>

Reply via email to