On Sat, May 11, 2002 at 08:43:13AM -0700, drieux wrote:
> 
> On Friday, May 10, 2002, at 07:07 , Tanton Gibbs wrote:
> 
> >Yes you can say
> >
> >our $opt_m;
> >
> >or
> >
> >use vars qw($opt_m);
> >
> >at the top of your program (depending on perl version).
> 
> I've been preached the orthodoxy of the later - but
> have never understood the distinction...
> 
> Yes, have read coping with scoping.
> 
> anyone have a human langugae explanation.

Well, "our" is lexically scoped, whereas "use vars" is package scoped.

Is that enough for now?

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to