EV::MakeMaker - MakeMaker glue for the C-level EV API
This allows you to access some libevent functionality from other perl modules.
For optimal performance, hook into EV at the C-level. You'll need to make changes to your Makefile.PL and add code to your xs / c file(s).
Makefile.PL
xs
c
use EV::MakeMaker qw(ev_args); # ... set up %args ... WriteMakefile (ev_args (%args));
#include "EVAPI.h" BOOT: I_EV_API ("YourModule");
See the EVAPI.h header.
To install EV, copy and paste the appropriate command in to your terminal.
cpanm
cpanm EV
CPAN shell
perl -MCPAN -e shell install EV
For more information on module installation, please visit the detailed CPAN module installation guide.