In article <EGfAb.36369$_M.167792@attbi_s54>, Nick Santos
<> wrote:
> As
> for the case of my and our, I've seen people use my because it defines that
> it comes from a local source(though I may be wrong). I think the programmers
> that put my are using it as much for their knowledge as for the compilers.
I figured this much. Thanks for your help.
As for "our" this is what I found:
"An our declares the listed variables to be valid globals within the
enclosing block, file, or eval. That is, it has the same scoping rules
as a ``my'' declaration, but does not create a local variable. If more
than one value is listed, the list must be placed in parentheses. The
our declaration has no semantic effect unless ``use strict vars'' is in
effect, in which case it lets you use the declared global variable
without qualifying it with a package name."
http://aspn.activestate.com/ASPN/doc...erlfunc.html#i
tem_our
--
Koncept <<
"Contrary to popular belief, the most dangerous animal is not the lion or
tiger or even the elephant. The most dangerous animal is a shark riding
on an elephant, just trampling and eating everything they see." - Jack Handey