<div class="gmail_quote">On Mon, Mar 23, 2009 at 3:24 PM, Mark Mertel <span dir="ltr">&lt;<a href="mailto:mark.mertel@yahoo.com">mark.mertel@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div style="font-family: tahoma,new york,times,serif; font-size: 12pt;"><div></div>
<div>Globals are not recommended. You could make them package variables and declare them with &#39;my&#39; or &#39;our&#39;, and then access them using the package name $Neo::Web::Session, or $Darley::Supers::CurrentUser when from outside the package.</div>
</div></div></blockquote><div><br>You are muddling several different things together there.<br><br>Complaining about &quot;globals&quot; and then recommending &quot;our&quot; is contradictory since &quot;our&quot; is used to declare a global variable.<br>
<br>Recommending &quot;my&quot; along with &quot;using the package name&quot; is bad advice since it won&#39;t work (you would be accessing different variables).<br><br>I&#39;ll leave the in-depth explaining of the differences between &quot;lexical variables&quot; and &quot;package globals&quot; to other sources, but those are the two choices. :)<br>
<br>Tye<br></div></div>