Elliot Shank via RT wrote:
Show quoted text> Subroutines::RequireArgUnpacking
> gives
> Always unpack @_ first at line 10, column 1. See page 178 of PBP. (Severity: 4)
> on this code
>
> my $y;
>
> sub set_y
> {
> my $x;
> ($y, $x) = @_;
> return;
> }
>
> The workaround would be to use
> ($y, my $x) = @_;
> instead of
> my $x;
> ($y, $x) = @_;
That's not a workaround, that's what the policy intends for you to do.