develooper Front page | perl.perl5.porters | Postings from April 2008

[perl #45733] RE: clarification about @ISA declaration in perlboot.pod (with patch)

Thread Next
From:
Bram via RT
Date:
April 28, 2008 00:10
Subject:
[perl #45733] RE: clarification about @ISA declaration in perlboot.pod (with patch)
Message ID:
rt-3.6.HEAD-23612-1209325332-1085.45733-15-0@perl.org
On Mon Sep 24 19:31:10 2007, johnh@isi.edu wrote:
> 
> The OO tutorial perlboot.pod omits one of the shorthand ways to
>    declare @ISA.  It should be included (TMTOWTDI, right?).
> 
> Patch to fix docs is below.
> 
>    -John Heidemann
> 
> 
> --- perlboot.pod-       2007-09-24 16:42:08.000000000 -0700
> +++ perlboot.pod        2007-09-24 16:43:40.000000000 -0700
> @@ -253,6 +253,11 @@
> 
>      @Cow::ISA = qw(Animal);
> 
> +Or declare it package global variable:
> +
> +    package Cow;
> +    our @ISA = qw(Animal);
> +
>  Or allow it as an implicitly named package variable:
> 
>      package Cow;
> 
> [Please do not change anything below this line]
> -----------------------------------------------------------------


Was there a particular reason why this patch wasn't applied?
(Was it over looked or was it rejected?)


Kind regards,

Bram

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About