diff options
author | Jesse Luehrs <doy@tozt.net> | 2011-03-04 13:31:34 -0600 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2011-03-04 13:31:34 -0600 |
commit | 9be81e194a68c4d49215701c65da3c5a264c6384 (patch) | |
tree | cbf4c3b967e1f948fc4e997362c5a7d7dea03856 /lib/Reaction/Class.pm | |
parent | 7e8cc0731f15f8c4b12f4a8f9d2da23d077c9b9c (diff) | |
download | reaction-9be81e194a68c4d49215701c65da3c5a264c6384.tar.gz reaction-9be81e194a68c4d49215701c65da3c5a264c6384.zip |
fixes for the applied_attribute stuff in moose 2
Diffstat (limited to 'lib/Reaction/Class.pm')
-rw-r--r-- | lib/Reaction/Class.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Reaction/Class.pm b/lib/Reaction/Class.pm index f2f8c3a..7077522 100644 --- a/lib/Reaction/Class.pm +++ b/lib/Reaction/Class.pm @@ -221,10 +221,10 @@ sub import { my $self = shift; my $pkg = caller; my @args = @_; - &strict::import; - &warnings::import; + strict->import; + warnings->import; $self->do_import($pkg, \@args); - goto &{$self->next_import}; + goto &{$self->next_import} if $self->next_import; } sub next_import { |