Perl6 Object Oriented Cookbook (v0.2.1)  
Section 4: Inheritance  
 
Recipe 4.12: Renaming Inherited Attributes and Methods of a Parent Class
Last Updated: Sep 8, 2003
Status: Draft
      Previous Page   Next Page

How important is this problem to you?
  (Login to Vote)
3.00 Rating, 2 Votes  

How acceptable is the proposed solution?
  (Login to Vote)
0.00 Rating, 0 Votes  

Problem:  

Your class inherits from two separate parent classes, each of whom defines an attribute or method named .foo. You want to rename one or both of them so that their names no longer conflict.

Solution:  

Discussion:


Log In to Comment


Login / Edit User Info -- Copyright © 2002 Cognitivity -- Previous Page   Next Page