]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/WWW.pm
fixup Plack-related requires
[public-inbox.git] / lib / PublicInbox / WWW.pm
index 2da819b18e698753fa73b1297d510af7d263f2ae..2acb4c83b0175ad1d2f7550bda4058673a600366 100644 (file)
@@ -13,6 +13,7 @@ package PublicInbox::WWW;
 use 5.008;
 use strict;
 use warnings;
+use Plack::Request;
 use PublicInbox::Config qw(try_cat);
 use URI::Escape qw(uri_escape_utf8 uri_unescape);
 use constant SSOMA_URL => '//ssoma.public-inbox.org/';
@@ -244,7 +245,7 @@ sub get_thread {
 sub ctx_get {
        my ($ctx, $key) = @_;
        my $val = $ctx->{$key};
-       (defined $val && $val ne '') or die "BUG: bad ctx, $key unusable\n";
+       (defined $val && $val ne '') or die "BUG: bad ctx, $key unusable";
        $val;
 }