|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re: Too many arguments for subroutineby chromatic (Archbishop) |
| on Oct 20, 2023 at 16:12 UTC ( [id://11155112]=note: print w/replies, xml ) | Need Help?? |
|
If you're using a Perl of version 5.20 or newer, you can use subroutine signatures. Perl 5.36.0 removed the experimental tag, so use v5.36; will enable them. See this Effective Perl Programming article about signatures for more details. Improve your skills with Modern Perl: the free book.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||