On 26 Dec 2000, Randal L. Schwartz wrote:

> >>>>> "Stas" == Stas Bekman <[EMAIL PROTECTED]> writes:
> 
> Stas> Note that Perl 5.6.0 introduced a new our() pragma which works like
> Stas> my() scope-wise, but declares global variables.
> 
> Stas>   package MyPackage3;
> Stas>   use strict;
> Stas>   our @ISA = qw(CGI);
> Stas>   our $VERSION = "1.00";
> Stas>   1;
> 
> Stas> which uses the same amount of memory as a fully qualified global
> Stas> variable:
> 
> Stas>   % perl -MGTop -MMyPackage3 -le 'print GTop->new->proc_mem($$)->size'
> Stas>   1908736
> 
> You still need a note there that says that 5.6.0 is considered unusable
> by conservative sysadmins, and until 5.6.1 has reached gold, you
> should avoid using "our".

Ok.

...the main target of this material is the book we are working on. So I
suppose that till the time it will be published 5.6.1 will be gold :)


_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide 
mailto:[EMAIL PROTECTED]   http://apachetoday.com http://logilune.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/  


Reply via email to