> -----Original Message-----
> From: Camilo Gonzalez [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 11, 2002 10:21 AM
> To: 'Bob Showalter'; Camilo Gonzalez; [EMAIL PROTECTED]
> Subject: RE: Using strict and configuration files
> 
> 
> So the following are equivalent:
> 
> use vars qw(foo)
> 
> our $foo = ""

Pretty much. The latter has an initializer, which the first doesn't.
The scoping rules are also slightly different.

But yes, "our" is basically a replacement for "use vars".

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

Reply via email to