July 30 2020 | Perl 7: An Opinionated Introduction | Back Next |
Perl 5 prototypes have never really been all that useful
Can tell you if you've provided the wrong number of mandatory arguments
Very limited type-checking
All scalars look alike, whether strings, numbers or references
Won't warn if mandatory argument is undefined
Does not preclude need to unpack @INC
Does not declare named variables for use within subroutine, as signatures would
continued...
Home Last TOC | Copyright © 2020 James E Keenan | Back Next |