UE - aliased namespace for UniEvent
This module is just a shortcut for UniEvent. E.g. instead of
my $loop = UniEvent::Loop->new;
it can be written as
my $loop = UE::Loop->new;
However keep in mind, that created objects are always of UniEvent::XXXX class. It matters in these kind of checks:
UniEvent::XXXX
if (ref($t) eq 'UniEvent::Timer') # ok if (ref($t) eq 'UE::Timer') # WRONG!
To install UniEvent, copy and paste the appropriate command in to your terminal.
cpanm
cpanm UniEvent
CPAN shell
perl -MCPAN -e shell install UniEvent
For more information on module installation, please visit the detailed CPAN module installation guide.