On Aug 26, 2007, at 3:22 AM, Randal L. Schwartz wrote:
Perl is a very strongly typed language. The problem is that people
keep
thinking "number" or "string" is a type in Perl. It isn't. The
type is
called "scalar". Other types are "array" and "hash" and
"filehandle" and
"dirhandle" and "built-in object" and "user-defined object".
In that line, I think Perl is not as dynamically typed as other
scripting languages, in the sense that sigils do put types in the
source code somehow. Since Perl tries to give meaning almost to
anything and context allows to add a scalar to an array, the compiler
does not complain that much in practice. But from a formal point of
view there are types in the code.
-- fxn
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/