From 9be81e194a68c4d49215701c65da3c5a264c6384 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Fri, 4 Mar 2011 13:31:34 -0600 Subject: fixes for the applied_attribute stuff in moose 2 --- lib/Reaction/Class.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/Reaction/Class.pm') 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 { -- cgit v1.2.3-54-g00ecf