summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pod/perlboot.pod5
1 files changed, 5 insertions, 0 deletions
diff --git a/pod/perlboot.pod b/pod/perlboot.pod
index 6e3f5ac8ab..55317c352e 100644
--- a/pod/perlboot.pod
+++ b/pod/perlboot.pod
@@ -253,6 +253,11 @@ The easiest is to just spell the package name out:
@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;