Skip to content

Commit

Permalink
fix -I. fixes plackgh-114
Browse files Browse the repository at this point in the history
  • Loading branch information
miyagawa committed May 15, 2010
1 parent bcd14bf commit baa5702
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/Plack/Runner.pm
Expand Up @@ -128,7 +128,10 @@ sub setup {
exit;
}

lib->import(@{$self->{includes}}) if @{$self->{includes}};
if (@{$self->{includes}}) {
require lib;
lib->import(@{$self->{includes}});
}

if ($self->{eval}) {
push @{$self->{modules}}, 'Plack::Builder';
Expand Down

0 comments on commit baa5702

Please sign in to comment.