in reply to Re^2: Passing a hash plus some strings to a subroutine
in thread Passing a hash plus some strings to a subroutine
It does not complain about that. Here is my SSCCE showing as such:
$ cat x.pl #!/usr/bin/env perl use strict; use warnings; use utf8; sub foo { my %arg = @_; print "Woo!\n"; return; } foo (z => 3); $ perlcritic --stern x.pl x.pl source OK $
This suggests that the cause of its complaint (if any) is in the code which you have not shown, such as if you have done something in the sub before that line and hence that line is not "first".
🦛
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Passing a hash plus some strings to a subroutine
by Anonymous Monk on Jan 11, 2026 at 01:10 UTC |