X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=lib%2FCGI%2FMaypole.pm;h=ddcf22240019251a6f11d035312aeba3adc262c4;hb=6438c73c6e11a516bfb670397bfc57048ac94c44;hp=345b68ee9c0e577f4ffff06780b07b40dafe0f7e;hpb=a6edcc4c9b9950ee248e8e10839c86c8e31a129d;p=maypole.git diff --git a/lib/CGI/Maypole.pm b/lib/CGI/Maypole.pm index 345b68e..ddcf222 100644 --- a/lib/CGI/Maypole.pm +++ b/lib/CGI/Maypole.pm @@ -43,7 +43,7 @@ sub send_output { print $r->{cgi}->header( -type => $r->{content_type}, -charset => $r->{document_encoding}, - -content_length => length $r->{output}, + -content_length => do { use bytes; length $r->{output} }, ); print $r->{output}; }