in reply to Modules, Prototypes, and References

I am persusing the pages of Damian Conway's 'OOP Perl' and he says that

"Perl does not check prototypes when a package subroutine is called as a method. . ." (page 85)

Looks like the compiler can't check the prototypes anyways, since all Perl methods are polymorphic - you can't know until run time.

Jeff

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
F--F--F--F--F--F--F--F--
(the triplet paradiddle)
  • Comment on (jeffa) Re: Modules, Prototypes, and References