An example? In one of your modules perhaps?
And do you silence the warning?
| [reply] |
die "$0: missing source file\n" unless @ARGV;
my $infile = shift;
This was a small filter program, not a module. | [reply] [d/l] |
Okay. I should have checked which post you were responding to. I thought you were saying that you used split to deliberately, implicitly split to @_;
I also use shift/pop implicitly on @ARGV, especially in one liners. But in scripts I have tried to force myself to explicitly state @ARGV. I still use implicit shifts and pops within subs.
But LanX was only suggesting some features be disable if you used no oddities; or similar, so it wouldn't stop anyone doing so, unless they chose not to. Kinda of a cut down, runtime actioned perl::critic, but without the dogmas...
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
| [reply] [d/l] |