<?xml version="1.0" encoding="windows-1252"?>
<node id="809196" title="Re^3: closure clarity, please" created="2009-11-24 15:16:17" updated="2009-11-24 15:16:17">
<type id="11">
note</type>
<author id="763880">
vitoco</author>
<data>
<field name="doctext">
&lt;blockquote&gt;&lt;i&gt;You have no choice. Named subroutines are always global. You're lying to yourself when you said "local f".&lt;/i&gt;&lt;/blockquote&gt;
&lt;p&gt;You are right. I meant "define all subroutines at the same global level."&lt;/p&gt;

&lt;blockquote&gt;&lt;i&gt;Why do you think that creating a variable somewhere should replace a variable in some unrelated sub?&lt;/i&gt;&lt;/blockquote&gt;
&lt;p&gt;It is not clear to me when a lexical variable is used and when is lost during the program execution, as in [id://809175|my last example], where I'd expect an uninitialized &lt;c&gt;$a&lt;/c&gt; in all "local f"'s messages.&lt;/p&gt;
</field>
<field name="root_node">
809000</field>
<field name="parent_node">
809160</field>
</data>
</node>
