|| 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;
}