syntax philosophy
Kirk Strauser
kirk at strauser.com
Mon Nov 17 20:50:06 EST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
At 2003-11-17T21:29:16Z, tuanglen at hotmail.com (Tuang) writes:
> In Python, apparently you have to first remember to declare your
> dictionary outside the loop:
>
> histogram {}
Note that you have to declare:
my %histogram;
outside the loop in Perl if use want it to be "use strict"-safe. And you
*do* want that, don't you?
- --
Kirk Strauser
The Strauser Group
Open. Solutions. Simple.
http://www.strausergroup.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/uXql5sRg+Y0CpvERAjnoAJ9FFYb563uVtd/5pamdH05fg5T+5gCdE+yB
xwja+KMVVU0tqdQWXeNh5y8=
=X6bA
-----END PGP SIGNATURE-----
More information about the Python-list
mailing list