__PACKAGE__->mk_classdata($_) for qw/_config log/;
-our $VERSION = '4.28';
+our $VERSION = '4.31';
our @ISA;
=head1 NAME
no strict 'refs';
*{"$caller\::handler"} =
sub { Catalyst::Engine::handler( $caller, @_ ) };
- push @{"$caller\::ISA"}, $self;
+
+ unless ( $caller->isa($self) ) {
+ push @{"$caller\::ISA"}, $self;
+ }
+ }
+
+ unless ( $self->log ) {
+ $self->log( Catalyst::Log->new );
}
- $self->log( Catalyst::Log->new );
# Options
my $engine =
if (/^\-Debug$/) {
no warnings;
no strict 'refs';
- *{"$self\::debug"} = sub { 1 };
+ *{"$caller\::debug"} = sub { 1 };
$caller->log->debug('Debug messages enabled');
}
elsif (/^-Engine=(.*)$/) { $engine = "Catalyst::Engine::$1" }
=head1 THANK YOU
-Andrew Ruthven, Christian Hansen, Christopher Hicks, Danijel Milicevic,
-David Naughton, Gary Ashton Jones, Jesse Sheidlower, Johan Lindstrom,
-Marcus Ramberg, Tatsuhiko Miyagawa and all the others who've helped.
+Andrew Ford, Andrew Ruthven, Christian Hansen, Christopher Hicks,
+Danijel Milicevic, David Naughton, Gary Ashton Jones, Jesse Sheidlower,
+Johan Lindstrom, Marcus Ramberg, Tatsuhiko Miyagawa and all the others
+who've helped.
=head1 LICENSE