New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clarification about @ISA declaration in perlboot.pod (with patch) #9043
Comments
From johnh@isi.eduCreated by johnh@isi.eduThe 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 Inline Patch--- 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; Perl Info
|
From p5p@spam.wizbit.beOn Mon Sep 24 19:31:10 2007, johnh@isi.edu wrote:
Was there a particular reason why this patch wasn't applied? Kind regards, Bram |
The RT System itself - Status changed from 'new' to 'open' |
From @rgs2008/4/27 Bram via RT <perlbug-followup@perl.org>:
Yes, I never saw it on P5P. |
From @rgsThanks, applied to bleadperl. |
@rgs - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#45733 (status was 'resolved')
Searchable as RT45733$
The text was updated successfully, but these errors were encountered: