diff options
Diffstat (limited to 'lib/Class/Struct.t')
-rw-r--r-- | lib/Class/Struct.t | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Class/Struct.t b/lib/Class/Struct.t index 111c090a11..fb1eb0b545 100644 --- a/lib/Class/Struct.t +++ b/lib/Class/Struct.t @@ -38,7 +38,10 @@ use Class::Struct s => '$', a => '@', h => '%', c => 'aClass'; package OverrideAccessor; use Class::Struct; -struct( 'OverrideAccessor', { count => '$' } ); +{ + no warnings qw(Class::Struct); + struct( 'OverrideAccessor', { count => '$' } ); +} sub count { my ($self,$count) = @_; |