On Sat, 13 Jun 2009 06:02:53 +0100, Andrew Savige <ajsav...@yahoo.com.au> wrote:

What is the Pythonic equivalent of Perl's lexical scope, as
illustrated by the code snippet above?

The useful (to you) pythonic answer depends rather a lot on
why you want to do something like that.  While you've been
given several possibilities, the "correct" answer might well
be "don't do that at all" :-)

--
Rhodri James *-* Wildebeest Herder to the Masses
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to