Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove Path::Class requirement

  • Loading branch information...
commit 13197696e5f5aa8dd3fd91ecba42cd60523054ff 1 parent 21a6899
@leedo authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  lib/Plack/App/Prack/Worker.pm
View
3  lib/Plack/App/Prack/Worker.pm
@@ -7,10 +7,9 @@ use Time::HiRes;
use File::Temp ':POSIX';
use IO::Socket::UNIX;
use Plack::App::Prack::Request;
-use Path::Class;
my $NACK = 'Nack::Server.run(ARGV[0], :file => ARGV[1])';
-my $dir = file($INC{"Plack/App/Prack/Worker.pm"})->dir->absolute;
+my ($dir) = ($INC{"Plack/App/Prack/Worker.pm"} =~ m{^(.*)/});
my $OPTS = "-I$dir -rnack/server";
Please sign in to comment.
Something went wrong with that request. Please try again.