5.30 2005-00-00 00:00:00
+ - Fix for inheritance bug.
- Allow forward with arguments.
- Updated cookbook
- Allow overriding home/root in config.
sub import {
my ( $class, @arguments ) = @_;
+ return unless $class eq 'Catalyst';
+
my $caller = caller(0);
# Prepare inheritance
no strict 'refs';
push @{"$caller\::ISA"}, $class;
- *{"$caller\::import"} = sub { 1 };
}
$caller->arguments( [ @arguments ] );