in reply to Re^3: How to identify incorrect subroutine calls in a perl program
in thread How to identify incorrect subroutine calls in a perl program
I fail to see how that's relevant.
dragonchild said that importing would result in a compile-time error. That would only detect a typo in the previously-non-existent import. It wouldn't identify incorrect calls at compile-time.
dragonchild didn't suggest omitting the parens. dragonchild even used parens in their post, just like the OP. Hence no compile-time errors would have resulted from their suggestion.
Finally, omitting parens wouldn't even have worked well at the time of the post. For best results, use v5.28;/no feature qw( indirect );/no indirect; is required, but the post predates these.
|
|---|