X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fp5-CGI-Ex;a=blobdiff_plain;f=lib%2FCGI%2FEx.pm;h=b6677bfe362c969a4125efdc4db373df00e95769;hp=aae9e5d91b5e7df5e03aeb3d1b38dfbfd6e5d83d;hb=6c57b3331d84010b9e2031f8e3c8937c3117e8fc;hpb=48c4840be1f154e262de2c161cb86dc5000dfe47 diff --git a/lib/CGI/Ex.pm b/lib/CGI/Ex.pm index aae9e5d..b6677bf 100644 --- a/lib/CGI/Ex.pm +++ b/lib/CGI/Ex.pm @@ -7,7 +7,7 @@ CGI::Ex - CGI utility suite - makes powerful application writing fun and easy =cut ###----------------------------------------------------------------### -# Copyright 2006 - Paul Seamons # +# Copyright 2007 - Paul Seamons # # Distributed under the Perl Artistic License without warranty # ###----------------------------------------------------------------### @@ -24,7 +24,7 @@ use vars qw($VERSION use base qw(Exporter); BEGIN { - $VERSION = '2.05'; + $VERSION = '2.11'; $PREFERRED_CGI_MODULE ||= 'CGI'; @EXPORT = (); @EXPORT_OK = qw(get_form @@ -440,7 +440,9 @@ sub send_status { $r->send_http_header; $r->print($mesg); } else { - # not sure of best way to send the message in MP2 + $r->content_type('text/html'); + $r->print($mesg); + $r->rflush; } } else { print "Status: $code\r\n"; @@ -1045,5 +1047,3 @@ Paul Seamons This module may be distributed under the same terms as Perl itself. =cut - -1;