note
why_bird
<blockquote><i>...so that it won’t collide with same variable within another subroutine...</i></blockquote>
There shouldn't be any collision, if you 'my' something within a subroutine, that variable should be scoped only to the end of that block (i.e. to the end of the subroutine). So you can call two variables in two different subroutines the same thing.</p>
<p>Look [http://perl.plover.com/FAQs/Namespaces.html#Lexical_Variables|here] for a good explanation of 'lexical scoping' (i.e. declaring variables with 'my') </p>
why_bird<br>
<b>edit</b>: added link
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-670682">
<small><center> ........<br>
Those are my principles. If you don't like them I have others.<br>
-- <b>Groucho Marx</b><br>
.......<br></center></small>
</div></div>
774297
774297