X-Git-Url: https://ruin.nu/git/?p=NDIRC.git;a=blobdiff_plain;f=ndbot.pl;h=afc8722741732a41c22f280ad83dc13bd8e9e0d2;hp=a14ee36fe319bef16eaaeb34b7eda5d8c3e5acf3;hb=8d103256e7f29d892d040ec25a38b2cb56e7f942;hpb=3494b00f46396cfe17a7ab19de2385eb2b4df2c8 diff --git a/ndbot.pl b/ndbot.pl index a14ee36..afc8722 100755 --- a/ndbot.pl +++ b/ndbot.pl @@ -22,7 +22,23 @@ use strict; use warnings; use feature ':5.10'; -use POE qw(Component::IRC::Qnet::State); +use local::lib; + +use File::Basename; +use lib dirname (__FILE__) . "/.."; + + +#use Devel::Leak::Object qw{ GLOBAL_bless }; +use POE qw(Component::IRC::Qnet::State Loop::Mojo_IOLoop); + +use Moose; +use MooseX::Declare; +use MooseX::Declare::StackItem; +use Parse::Method::Signatures::Sig; +use MooseX::Types::TypeDecorator; +use MooseX::Meta::TypeConstraint::ForceCoercion; + +use NDIRC::Bot; eval "require NDIRC::$ARGV[0]"; @@ -48,3 +64,5 @@ POE::Session->create( ); $poe_kernel->run(); + +1;