X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst.pm;h=bf3049ba7b71637ea1d31b3dc53517a005a385e6;hp=4ee89dffd23a6e574701ada2d4f82ccd39dde48a;hb=21465c884872c1ec8c30acd72796445f9eaacb31;hpb=d2ee9760ceba06de9ab9a1cc0014fab331a04809 diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 4ee89df..bf3049b 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -7,13 +7,12 @@ use Catalyst::Exception; use Catalyst::Log; use Catalyst::Utils; use NEXT; -use Text::ASCIITable; use Path::Class; our $CATALYST_SCRIPT_GEN = 4; __PACKAGE__->mk_classdata($_) for qw/arguments dispatcher engine log/; -our $VERSION = '5.24'; +our $VERSION = '5.34'; our @ISA; =head1 NAME @@ -126,16 +125,16 @@ Returns a hashref containing your applications settings. sub import { my ( $class, @arguments ) = @_; + + # We have to limit $class to Catalyst to avoid pushing Catalyst upon every + # callers @ISA. + return unless $class eq 'Catalyst'; my $caller = caller(0); - - # Prepare inheritance - unless ( $caller->isa($class) ) { - + + unless ( $caller->isa('Catalyst') ) { no strict 'refs'; push @{"$caller\::ISA"}, $class; - - *{"$caller\::import"} = sub { 1 }; } $caller->arguments( [ @arguments ] ); @@ -242,17 +241,55 @@ Web: =back -=head1 AUTHOR +=head1 CREDITS -Sebastian Riedel, C +Andy Grundman + +Andrew Ford + +Andrew Ruthven + +Autrijus Tang + +Christian Hansen + +Christopher Hicks + +Dan Sully + +Danijel Milicevic + +David Naughton + +Gary Ashton Jones -=head1 THANK YOU +Geoff Richards -Andy Grundman, Andrew Ford, Andrew Ruthven, Autrijus Tang, Christian Hansen, -Christopher Hicks, Dan Sully, Danijel Milicevic, David Naughton, -Gary Ashton Jones, Geoff Richards, Jesse Sheidlower, Jody Belka, -Johan Lindstrom, Juan Camacho, Leon Brocard, Marcus Ramberg, -Tatsuhiko Miyagawa and all the others who've helped. +Jesse Sheidlower + +Jody Belka + +Johan Lindstrom + +Juan Camacho + +Leon Brocard + +Marcus Ramberg + +Matt S Trout + +Robert Sedlacek + +Sebastian Riedel + +Tatsuhiko Miyagawa + +Ulf Edvinsson + +=head1 AUTHOR + +Sebastian Riedel, C =head1 LICENSE