Search
j0ke.net Open Build Service
>
Projects
>
SUSE
:
Manager
:
1.2
>
perl-Class-MethodMaker
> suppress_warning.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File suppress_warning.diff of Package perl-Class-MethodMaker
--- lib/Class/MethodMaker/Engine.pm +++ lib/Class/MethodMaker/Engine.pm 2008/06/11 12:03:16 @@ -778,6 +778,8 @@ *{$methname} = $code; # Generate a unique stash name for the sub. Use a preceding space # to avoid collisions with anything in the Perl space. + # Turn off warnings about 'Name " Foo::Bar" used only once'. + no warnings "once"; Class::MethodMaker::set_sub_name($code, $target, $name, " ${target}::${name}"); } } else {