From: Dave Rolsky Date: Wed, 15 Jul 2009 14:36:55 +0000 (-0500) Subject: More code tidying X-Git-Tag: 0.90~8 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6f827626d6153e4cfe8e69e74b165ccaada96fcc;p=gitmo%2FClass-MOP.git More code tidying --- diff --git a/lib/Class/MOP/Module.pm b/lib/Class/MOP/Module.pm index 5755c5d..802381d 100644 --- a/lib/Class/MOP/Module.pm +++ b/lib/Class/MOP/Module.pm @@ -62,9 +62,9 @@ sub _instantiate_module { || confess "creation of $package_name failed: invalid package name"; no strict 'refs'; - scalar %{$package_name . '::'}; # touch the stash - ${$package_name . '::VERSION'} = $version if defined $version; - ${$package_name . '::AUTHORITY'} = $authority if defined $authority; + scalar %{ $package_name . '::' }; # touch the stash + ${ $package_name . '::VERSION' } = $version if defined $version; + ${ $package_name . '::AUTHORITY' } = $authority if defined $authority; return; }