Permalink
Browse files

Add findbin to allow easy uinstalled execution

  • Loading branch information...
1 parent 9133f93 commit 48115057770bb412c2bca90721dd5afff357bb6f @marcusramberg marcusramberg committed Jan 7, 2009
Showing with 3 additions and 0 deletions.
  1. +1 −0 Makefile.PL
  2. +2 −0 bin/twirc
View
@@ -23,6 +23,7 @@ requires 'MooseX::SimpleConfig';
requires 'MooseX::Getopt' => '0.15';
requires 'MooseX::Log::Log4perl::Easy';
requires 'Proc::Daemon';
+requires 'FindBin';
eval {
system 'pod2text lib/POE/Component/Server/Twirc.pm > README';
View
@@ -1,6 +1,8 @@
#!/usr/bin/perl
use warnings;
use strict;
+use FindBin;
+use lib "$FindBin::Bin/../lib";
use App::Twirc;
my $app = App::Twirc->new_with_options();

0 comments on commit 4811505

Please sign in to comment.