Penguin

Differences between current version and predecessor to the previous major change of perltoot(1).

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 2 Last edited on Monday, June 3, 2002 6:50:52 pm by perry
Older page: version 1 Last edited on Monday, June 3, 2002 6:50:52 pm by perry Revert
@@ -945,9 +945,9 @@
 However, there is one particular area where 
 MI in Perl is rampant: borrowing another 
 class's class methods. This is rather common, especially 
 with some bundled ``objectless'' classes, like Exporter, 
-DynaLoader, AutoLoader, and SelfLoader. These classes do not 
+! DynaLoader, ! AutoLoader, and ! SelfLoader. These classes do not 
 provide constructors; they exist only so you may inherit 
 their class methods. (It's not entirely clear why 
 inheritance was done here rather than traditional module 
 importation.) 
@@ -957,10 +957,10 @@
 @ISA: 
  
  
  package POSIX; 
-@ISA = qw(Exporter DynaLoader);  
-The POSIX module isn't really an object module, but then, neither are Exporter or DynaLoader. They're just lending their classes' behaviours to POSIX . 
+@ISA = qw(Exporter ! DynaLoader);  
+The POSIX module isn't really an object module, but then, neither are Exporter or ! DynaLoader. They're just lending their classes' behaviours to POSIX . 
  
  
 Why don't people use MI for object methods 
 much? One reason is that it can have complicated 
@@ -1485,9 +1485,9 @@
 The need for the our declaration is because what Alias does is play with package globals with the same name as the fields. To use globals while use strict is in effect, you have to predeclare them. These package variables are localized to the block enclosing the ''attr()'' call just as if you'd used a ''local()'' on them. However, that means that they're still considered global variables with temporary values, just as with any other ''local()''. 
  
  
 It would be nice to combine Alias with something like 
-Class::Struct or Class::MethodMaker. 
+Class::Struct or Class::! MethodMaker. 
 !!NOTES 
  
  
 __Object Terminology__ 
@@ -1555,10 +1555,10 @@
  
  
 Some modules which might prove interesting are 
 Class::Accessor, Class::Class, Class::Contract, 
-Class::Data::Inheritable, Class::MethodMaker and  
-Tie::SecureHash 
+Class::Data::Inheritable, Class::! MethodMaker and  
+Tie::! SecureHash 
 !!AUTHOR AND COPYRIGHT 
  
  
 Copyright (c) 1997, 1998 Tom Christiansen All rights 
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.