Prima::...nyEvent(3)
π Prima::sys::AnyEvent β the AnyEvent bridge β¨
okay bestie so this is Prima::...nyEvent(3) from the User Contributed Perl Documentation β yes the name has dots in it, it's a whole thing, don't worry about it π
πΈ SYNOPSIS πΈ
use Prima qw(sys::AnyEvent);
use AnyEvent;
my $ev = AnyEvent->timer(after => 1, cb => sub { print "waited 1 second!\n" });
Prima->run;
like. look at that. that's the whole vibe. you load it, you make an AnyEvent timer, you hand the reins to Prima->run, and the timer just happens while Prima is doing its thing. iconic behavior honestly π
π¦ DESCRIPTION π¦
So this is an experiment β say it with me, an experiment β to bring AnyEvent::Impl::Prima into the toolkit's core π«Ά
And the tea? The code is almost 100% from there. Like, it's not a rewrite, it's not a glow-up, it's basically the same code moved into the core. no cap. π
π AUTHORS π
- Zsban Ambrus
- Max Maischein
- Dmitry Karasik
three legends, one bridge, we love to see it π
β SEE ALSO β
examples/socket_anyevent.pl
go read the example bestie it's right there, it's giving tutorial energy β¨
π sign-off π
that's the whole page!! this lil doc ships with perl v5.42.3 and it was dated 2026-09-16, so if you're reading this from the future β hi, you're doing great π
go forth and bridge your event loops, bestie. you got this. periodt π π¦
π¦ where this page comes from
- fedora 44: perl-Prima-AnyEvent 1.78-1.fc44 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms