Perl6 Object Oriented Cookbook (v0.2.1)  
Section 10: Limiting Access to Classes, Attributes, and Methods  
 
Recipe 10.6: Explicitly Declaring which Classes May Have Read and Write Access to an Attribute
Last Updated: Sep 8, 2003
Status: Draft
      Previous Page   Next Page

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

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

Problem:  

You want to make a given attribute read-only for certain (sub)classes, and read-write for other (sub)classes.

Solution:  

Discussion:


Log In to Comment


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