On Tue, Jun 05, 2001 at 12:46:52PM -0400, John Porter wrote: > Michael G Schwern wrote: > > Prototypes don't work on methods. And I wouldn't hold them up as > > being anything but a mediocre hack. Its not really type checking. > > It's not just prototypes. > > % perl -e '$r=\%h; print @$r' > Not an ARRAY reference at -e line 1. This isn't type-checking (semantical arguments > /dev/null), its more like basic syntax. You don't want to try holding up prototypes and dereference checks to Java's typing system and try to claim its in the same league, or even the same sport. -- Michael G. Schwern <schwern@pobox.com> http://www.pobox.com/~schwern/ Perl6 Quality Assurance <perl-qa@perl.org> Kwalitee Is Job One It sure is fun masturbating. http://www.unamerican.com/Thread Previous | Thread Next