Also, perl's prototypes are really not about argument checking. They are about argument coercion - they don't really match what prototypes in C or Java for instance do.
See also Far More Than Everything You've Ever Wanted to Know about Prototypes in Perl
In reply to Re: Object method prototypes?
by Joost
in thread Object method prototypes?
by zrajm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |