Re: our vs my

2003-08-14 Thread Randal L. Schwartz
> "Paul" == Paul Archer <[EMAIL PROTECTED]> writes: Paul> Actually, while we're on the subject: can anyone *really* Paul> explain the difference between the two, or perhaps more Paul> importantly, when someone would want to use 'our' over 'my'? Paul> I've read the docs, but they're not sinking

Re: our vs my

2003-08-14 Thread Paul Archer
Actually, while we're on the subject: can anyone *really* explain the difference between the two, or perhaps more importantly, when someone would want to use 'our' over 'my'? I've read the docs, but they're not sinking in. TIA, Paul 2:53pm, Dan Muey wrote: > Anybody know what version of Perl o

RE: our vs my

2003-08-14 Thread Bob Showalter
Jeff 'japhy' Pinyan wrote: > On Aug 12, Dan Muey said: > > > Perhaps it'd be better to use my $var = ''; and then export the > > variable on request instead, that way it will work with 5.005_03. > > I don't mean to start up a fire-storm, but it IS technically possible > to export lexically scoped

RE: our vs my

2003-08-14 Thread Bob Showalter
Paul Archer wrote: > Actually, while we're on the subject: can anyone *really* explain the > difference between the two, or perhaps more importantly, when someone > would want to use 'our' over 'my'? I've read the docs, but they're > not sinking in. Perl has two kinds of variables. The first kind

our vs my

2003-08-14 Thread Dan Muey
Anybody know what version of Perl our was introduced? I'm using our in a module and want like to use 5.6.0; or whatever version in that module so that I can make sure the our's aren't a problem. Perhaps it'd be better to use my $var = ''; and then export the variable on request instead, that w

Re: our vs my

2003-08-14 Thread wiggins
In addition to what Bob said: http://perl.plover.com/FAQs/Namespaces.html Really cleared a lot up for me. http://danconia.org On Tue, 12 Aug 2003 20:27:59 -0500 (CDT), Paul Archer <[EMAIL PROTECTED]> wrote: > Actually, while we're on the subject

RE: our vs my

2003-08-14 Thread wiggins
On Tue, 12 Aug 2003 14:53:38 -0500, "Dan Muey" <[EMAIL PROTECTED]> wrote: > Anybody know what version of Perl our was introduced? > 5.6.0; do perldoc vars ... > I'm using our in a module and want like to use 5.6.0; or whatever version in that >

RE: our vs my

2003-08-14 Thread Dan Muey
> > On Tue, 12 Aug 2003 14:53:38 -0500, "Dan Muey" > <[EMAIL PROTECTED]> wrote: > > > Anybody know what version of Perl our was introduced? > > > > 5.6.0; do perldoc vars ... A so I'll check it out > > > I'm using our in a module and wa

Re: our vs my

2003-08-14 Thread Jeff 'japhy' Pinyan
On Aug 12, Dan Muey said: >Perhaps it'd be better to use my $var = ''; and then export the variable >on request instead, that way it will work with 5.005_03. I don't mean to start up a fire-storm, but it IS technically possible to export lexically scoped variables. -- Jeff "japhy" Pinyan [

RE: our vs my

2003-08-14 Thread Jeff 'japhy' Pinyan
On Aug 13, Bob Showalter said: >Jeff 'japhy' Pinyan wrote: >> On Aug 12, Dan Muey said: >> >> > Perhaps it'd be better to use my $var = ''; and then export the >> > variable on request instead, that way it will work with 5.005_03. >> >> I don't mean to start up a fire-storm, but it IS technically