in reply to Good use for prototypes. On methods no less!
if they had declared it like this:
sub isa() { ... }then they could have prevented this widespread misuse of the API.
How so (even if protoypes did work with methods)?
Wouldn't the effect rather be that you could now no longer call it as a method, nor with any parameter?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Good use for prototypes. On methods no less!
by polymorpheus (Novice) on Jun 01, 2012 at 19:55 UTC | |
by Eliya (Vicar) on Jun 01, 2012 at 20:04 UTC |