From: Rafael Garcia-Suarez Date: Mon, 28 Apr 2008 08:19:36 +0000 (+0000) Subject: clarification about @ISA declaration in perlboot.pod X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=016e9c5695872e5cc33263f9d3b6ddfd18396b11;p=p5sagit%2Fp5-mst-13.2.git clarification about @ISA declaration in perlboot.pod Patch provided by John Heidemann in perlbug #45733. p4raw-id: //depot/perl@33761 --- diff --git a/pod/perlboot.pod b/pod/perlboot.pod index 6e3f5ac..55317c3 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;