Michael G Schwern wrote:
> > % perl -e '$r=\%h; print @$r'
> > Not an ARRAY reference at -e line 1.
> 
> This isn't type-checking (semantical arguments > /dev/null),

Heed your own redirection, eh?


> its more like basic syntax.

No, it's not.  If it were, then it would be caught at
compile time.


> 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.

As I said before, it boils down to the fact that perl's
notion of a "type" is different from other languages.
It *does* check these types, and it "casts" very
opportunistically.

-- 
John Porter

"Anything essential is invisible to the eyes."

Reply via email to