Event:...::Glib(3pm)
π NAME π
Event::RPC::Loop::Glib β the Glib mainloop glow-up for Event::RPC, bestie π
So this is page Event:...::Glib(3pm) from the User Contributed Perl Documentation, and it's literally just a lil module that tells Event::RPC which mainloop to run on. That's it, that's the whole gig π
β¨ SYNOPSIS β¨
okay so here's how you actually use it, no cap:
use Event::RPC::Server;
use Event::RPC::Loop::Glib;
my $server = Event::RPC::Server->new (
...
loop => Event::RPC::Loop::Glib->new(),
...
);
$server->start;
see that loop => line? that's the moment. that's where you slide Event::RPC::Loop::Glib->new() in and let Glib carry the whole vibe π¦
πΈ DESCRIPTION πΈ
so like, this module implements a mainloop using Glib for the Event::RPC::Server module. ms girl Glib is the one driving the bus now, and the server is just along for the ride ππ¨
it implements the interface of Event::RPC::Loop β so it slots in anywhere that interface is expected, iconic behaviour fr fr.
if you want the actual deets on that interface, please refer to the manpage of Event::RPC::Loop. that's where the lore lives, i'm just the messenger π
π AUTHORS π
- JΓΆrn Reder
<joern AT zyn.de>
one author, one legend, we stan π
π COPYRIGHT AND LICENSE π
Copyright (C) 2005-2015 by JΓΆrn Reder <joern AT zyn.de>.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
so yeah β free software, same terms as Perl itself, go wild, remix it, redistribute it, it's giving open source generosity π
and that's the whole page!! short, sweet, does exactly one thing and does it slay π
perl v5.40.1 Β· 2025-09-29 Β· Event:...::Glib(3pm) β mwah, thanks for reading bestie, drink some water and go write some RPC π«Άπβ
π¦ where this page comes from
- ubuntu resolute: libevent-rpc-perl 1.11-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libevent-rpc-perl 1.11-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms