RE: [code-review] Hello!

Jeff 'japhy' Pinyan <[email protected]> Wed, 4 Feb 2004 09:52:05 -0500 (EST)
Newsgroups gmane.comp.lang.perl.code-review-ladder
Message-ID <[email protected]>
On Feb 4, Garrett Goebel said:

>Bruce Van Allen wrote:
>>
>> Besides, our() doesn't do everything 'use vars' can do :-)
>
>'use vars' doesn't do this...
>
>#perl -e 'package Foo; our $baz=20; package Bar; print "$baz\n"'
>20

Because they're different.  our() is just my() scopability for package
variables.  That's all.

-- 
Jeff "japhy" Pinyan      [email protected]      http://www.pobox.com/~japhy/
RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
<stu> what does y/// stand for?  <tenderpuss> why, yansliterate of course.
[  I'm looking for programming work.  If you like my work, let me know.  ]