package Apache::MVC;
-our $VERSION = '2.03';
+our $VERSION = '2.04';
use strict;
use warnings;
sub send_output {
my $r = shift;
$r->{ar}->content_type(
- $r->{content_type} =~ m/^text/ ?
- $r->{content_type} . "; charset=" . $r->{document_encoding} :
- $r->{content_type} );
+ $r->{content_type} =~ m/^text/
+ ? $r->{content_type} . "; charset=" . $r->{document_encoding}
+ : $r->{content_type}
+ );
$r->{ar}->headers_out->set( "Content-Length" => length $r->{output} );
APACHE2 || $r->{ar}->send_http_header;
$r->{ar}->print( $r->{output} );
use strict;
use warnings;
-our $VERSION = '2.03';
+our $VERSION = '2.04';
sub run {
my $self = shift;
use Maypole::Config;
use Maypole::Constants;
-our $VERSION = '2.03';
+our $VERSION = '2.04';
__PACKAGE__->mk_classdata($_) for qw( config init_done view_object );
__PACKAGE__->mk_accessors(