Navigation Menu

Skip to content

Commit

Permalink
no strict by default with -e like perl
Browse files Browse the repository at this point in the history
  • Loading branch information
miyagawa committed Jan 9, 2010
1 parent f3374ae commit 89d34d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Plack/Runner.pm
Expand Up @@ -91,7 +91,7 @@ sub run {
push @options, host => $host, port => $port;

$psgi ||= $argv[0] || "app.psgi";
my $app = $eval ? build { eval $eval or die $@ }
my $app = $eval ? build { no strict; no warnings; eval $eval or die $@ }
: ref $psgi eq 'CODE' ? sub { $psgi }
: build { Plack::Util::load_psgi $psgi };

Expand Down

0 comments on commit 89d34d3

Please sign in to comment.