By my defintion, perl is not really a strongly typed language. While it does know much about the types, it does not always enforce the rules of that type (sometimes only warning the programmer).
Try treating a hash like a scalar. Or a scalar ref like an array ref.
Perl is strongly typed.
You are confusing the type associated with the name of a variable with the type associated with its value. In C, you declare a type for the name of a variable, as in double i;, but the content of i can be anything. The language just won't let you assign from a variable with name declared to be of one type to a variable with a name declared to be of another. It doesn't actually know what the variables contain, however.
In Perl, that's different. The language always knows the type of the content of each variable.
Makeshifts last the longest.
In reply to Re^10: use fields; # damnit
by Aristotle
in thread use fields; # damnit
by nothingmuch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |