Python vs. Perl

Isaac To Kar Keung kkto at csis.hku.hk
Sat May 26 04:14:21 EDT 2001


>>>>> "Alex" == Alex Martelli <aleaxit at yahoo.com> writes:

    Alex> Ah, the keys in a dictionary (hash) display are taken as literal
    Alex> and the values aren't?  How quaint.

Actually, Perl is more ugly than that.  Everything can be a literal, unless
something else is defined on that.  Of course, except that you can say
'import var' to have them trigger a warning or error.

Regards,
Isaac.



More information about the Python-list mailing list