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

Change 33761: clarification about @ISA declaration in perlboot.pod

From:
Rafael Garcia-Suarez
Date:
April 28, 2008 01:30
Subject:
Change 33761: clarification about @ISA declaration in perlboot.pod
Change 33761 by rgs@stcosmo on 2008/04/28 08:19:36

	clarification about @ISA declaration in perlboot.pod
	Patch provided by John Heidemann <johnh@isi.edu>
	in perlbug #45733.

Affected files ...

... //depot/perl/pod/perlboot.pod#13 edit

Differences ...

==== //depot/perl/pod/perlboot.pod#13 (text) ====
Index: perl/pod/perlboot.pod
--- perl/pod/perlboot.pod#12~32410~	2007-11-20 00:14:11.000000000 -0800
+++ perl/pod/perlboot.pod	2008-04-28 01:19:36.000000000 -0700
@@ -253,6 +253,11 @@
 
     @Cow::ISA = qw(Animal);
 
+Or declare it as package global variable:
+
+    package Cow;
+    our @ISA = qw(Animal);
+
 Or allow it as an implicitly named package variable:
 
     package Cow;
End of Patch.



Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About