Lou Hernsen wrote:
- Original Message -
From: "Bob Showalter" <[EMAIL PROTECTED]>
To: "Lou Hernsen" <[EMAIL PROTECTED]>
Cc:
Sent: Sunday, November 27, 2005 12:36 PM
Subject: Re: our..
Lou Hernsen wrote:
ok after reading about "our"
fact:
Lou Hernsen <> wrote:
: Bob Showalter <> wrote:
:
: : A variable declared with "my" is only accessible within the
: : enclosing file, block, or eval.
:
: File is the entire program.
Yes.
: like a global var?
No. Globals are in the symbol table and can be accessed from
*outside* th
- Original Message -
From: "Bob Showalter" <[EMAIL PROTECTED]>
To: "Lou Hernsen" <[EMAIL PROTECTED]>
Cc:
Sent: Sunday, November 27, 2005 12:36 PM
Subject: Re: our..
> Lou Hernsen wrote:
> > ok after reading about "our"
> >
Lou Hernsen wrote:
ok after reading about "our"
fact:
I use all global vars in the main program.
conclusion
I need to list all the vars in the module as our
in main
my $foo
in mod
our $foo
this will allow the vars to be used by both programs?
No.
A variable declared with "my" is only access