DEV Community

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

Collapse
 
lva profile image
José Angel Leyva Portilla

Thanks, so this feature should be available for any Perl on version 5.20 or higher?

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.