DEV Community

Discussion on: I love function signatures in Perl, and you should too.

Collapse
 
manchicken profile image
Mike Stemle

Correct. You'll need to use feature 'signatures'; and disable the warnings, as described here: effectiveperlprogramming.com/2015/...

In Perl 7, to my knowledge, signatures will be standard and will generate no warnings.

If you're using Perl::Critic, you'll also want to no critic for prototypes, too.