1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
From: Florian Schlichting <fsfs@debian.org>
Date: Sat, 9 Jul 2011 17:10:59 +0200
Subject: [PATCH] mimic mod_perl behaviour in HTML::Mason::CGIHandler
Origin: vendor
--- a/lib/HTML/Mason/CGIHandler.pm
+++ b/lib/HTML/Mason/CGIHandler.pm
@@ -86,6 +86,9 @@ sub _handler {
$sent_headers = 1;
}
+ # mimic mod_perl behaviour
+ use bytes;
+
# We could perhaps install a new, faster out_method here that
# wouldn't have to keep checking whether headers have been
# sent and what the $r->method is. That would require
|