[libhtml-mason-perl] 02/16: mimic mod_perl behaviour in HTML::Mason::CGIHandler
Florian Schlichting
fsfs at moszumanska.debian.org
Tue Aug 18 20:04:08 UTC 2015
This is an automated email from the git hooks/post-receive script.
fsfs pushed a commit to branch master
in repository libhtml-mason-perl.
commit a0fe19b8846c191bb52a633f4dc59d03fb5657fe
Author: Florian Schlichting <fsfs at debian.org>
Date: Sat Jul 9 17:10:59 2011 +0200
mimic mod_perl behaviour in HTML::Mason::CGIHandler
Notes:
Origin: vendor
Patch-Name: 02_cgihandler.patch
---
lib/HTML/Mason/CGIHandler.pm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/HTML/Mason/CGIHandler.pm b/lib/HTML/Mason/CGIHandler.pm
index 8afc914..faa48ee 100644
--- a/lib/HTML/Mason/CGIHandler.pm
+++ b/lib/HTML/Mason/CGIHandler.pm
@@ -97,6 +97,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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libhtml-mason-perl.git
More information about the Pkg-perl-cvs-commits
mailing list