Python's current scoping differs from that in versions 2.1 and earlier - statically nested (lexical) scoping was introduced under PEP 227.
I don't know what differences, if any, remain between Python's and Perl's scoping rules, or if there is any tutorial concerning Python scoping thats aimed specifically at programmers with a Perl background. A pretty straightfoward explanation of the change to Python scoping rules can be found at: http://www.python.org/doc/2.2.3/whatsnew/node9.html -- http://mail.python.org/mailman/listinfo/python-list