Perl has strong typing; it just has a different notion of
what a "type" is.  The "types" in Perl are SCALAR, ARRAY,
HASH, CODE, and a few others.  Watch:

% perl -e 'sub foo(\@){} foo %h'
Type of arg 1 to main::foo must be array (not hash deref) at -e line 1, at EOF
Execution of -e aborted due to compilation errors.


-- 
John Porter

"Anything essential is invisible to the eyes."

Reply via email to