diff --git a/Changes b/Changes index 709c1ae..c192821 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,7 @@ Revision history for {{$dist->name}} {{$NEXT}} + - Documentation improvements (gh#12, gh#13) 0.09 2024-12-27 16:09:09 -0700 - (ProhibitSignaturesAndAtUnderscore) Do not detect @_ inside nested sub (gh#10, gh#11) diff --git a/lib/Perl/Critic/Policy/Plicease/ProhibitSignaturesAndAtUnderscore.pm b/lib/Perl/Critic/Policy/Plicease/ProhibitSignaturesAndAtUnderscore.pm index 81315a3..ae8412a 100644 --- a/lib/Perl/Critic/Policy/Plicease/ProhibitSignaturesAndAtUnderscore.pm +++ b/lib/Perl/Critic/Policy/Plicease/ProhibitSignaturesAndAtUnderscore.pm @@ -11,8 +11,8 @@ use base qw( Perl::Critic::Policy ); =head1 SYNOPSIS - sub foo ($$) { my($a,$b) = @_; } # ok - use experimental qw( signatures ); foo ($a, $b) { my($c,$d) = @_; } # not ok + sub foo ($$) { my($x,$y) = @_; } # ok + use experimental qw( signatures ); foo ($x, $y) { my($c,$d) = @_; } # not ok =head1 DESCRIPTION