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.

Of course, that's a run-time check, but that's a consequence
of perl's dynamic nature.

-- 
John Porter

Reply via email to