http://qs321.pair.com?node_id=415283


in reply to Re^6: strong typing
in thread (Completely OT) - Hero(i)n programming language on Slashdot

Containers have types in Perl. Values don't. That's how (I say) Perl's type system works.

(Okay, that's not entirely true, but if you need gory details, look in sv.h and Devel::Peek. My point is that Perl doesn't expose the types of values to users.)

Replies are listed 'Best First'.
Re^8: strong typing
by jdporter (Canon) on Dec 16, 2004 at 15:01 UTC
    O.k., my point exactly. How things work under the covers is, to some extent (some great extent, in the case of highly dynamic languages like perl) irrelevant to the users of the language. As far a perl programmers are concerned, 5 and "foo" have different types. perl tells us as much. We really don't care whether perl determines their types by some container tagging system, or whatever other means.