Permalink
Browse files

don't bother falling back to DynaLoader

  • Loading branch information...
1 parent 4927f27 commit a5d4a49ff0a041f065fd425beab3f941b3adefbb @tonycoz committed Mar 3, 2013
Showing with 7 additions and 13 deletions.
  1. +5 −3 Makefile.PL
  2. +2 −10 lib/POE/XS/Loop/EPoll.pm
View
@@ -85,9 +85,11 @@ my %opts =
NAME => 'POE::XS::Loop::EPoll',
VERSION_FROM => 'lib/POE/XS/Loop/EPoll.pm',
OBJECT => 'EPoll.o alloc.o poexs.o',
- PREREQ_PM => {
- 'POE' => 1.003,
- },
+ PREREQ_PM =>
+ {
+ 'POE' => 1.003,
+ 'XSLoader' => 0
+ },
test => {
TESTS => 't/poe_xs_loop_epoll/*.t',
},
View
@@ -8,16 +8,8 @@ BEGIN {
*POE::Kernel::TRACE_CALLS = sub () { 0 };
}
$VERSION = '1.002';
- eval {
- # try XSLoader first, DynaLoader has annoying baggage
- require XSLoader;
- XSLoader::load('POE::XS::Loop::EPoll' => $VERSION);
- 1;
- } or do {
- require DynaLoader;
- push @ISA, 'DynaLoader';
- bootstrap POE::XS::Loop::EPoll $VERSION;
- }
+ require XSLoader;
+ XSLoader::load('POE::XS::Loop::EPoll' => $VERSION);
}
require POE::Loop::PerlSignals;

0 comments on commit a5d4a49

Please sign in to comment.