Chas Owens wrote:
Well, there is a prototype problem, but it isn't that $ will force new
to only accept one value, but rather that prototypes and OO Perl don't
mix.  Perl simply ignores prototypes on methods.  Also prototypes are
broken*, don't use them.
-snip-
* http://library.n0i.net/programming/perl/articles/fm_prototypes/

"Broken" and "don't use them" is a bit extreme.  But I will agree with
the general sentiment that they should not be used as a matter of
course; they should be reserved for a handful of special cases where
they help more than they harm.

--
Jonathan "Dataweaver" Lang

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to