On Tue, Jan 15, 2008 at 04:32:07PM -0800, Tracy R Reed wrote:
> Gus Wirth wrote:
>> I suggest reading the man page perlreftut. It clarifies what Perl
>> references are and why they exist. In particular, references exist
>> due to a deficiency in Perl originating in Perl 4 that didn't allow a
>> hash to have anything other than a scalar as a value.
>
> Interesting. I didn't know this page existed. Yet another way that
> python yields more readable code: Python hashes/dictionaries can
> contain lists without having to deal with references. In fact, all of
> the data structures are nestable.

That's because, in Python, these are objects instead of a primitive
type, correct?

Attachment: pgpYWFwJl6qry.pgp
Description: PGP signature

-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to