perl6-language
[Top] [All Lists]

Class attribute declaration question : our $!var

To: perl6-language@perl.org
Subject: Class attribute declaration question : our $!var
From: "John M. Dlugosz" <dhcgnd702@sneakemail.com>
Date: Mon, 11 Aug 2008 01:06:50 -0500
Delivered-to: mailing list perl6-all@perl.org
Delivered-to: perl6-all-poster@perl.org
Delivered-to: mailing list perl6-language@perl.org
Delivered-to: perl6-language@perl.org
List-help: <mailto:perl6-all-help@perl.org>
List-id: <perl6-all.perl.org>
List-id: <perl6-language.perl.org>
List-post: <mailto:perl6-all@perl.org>
List-subscribe: <mailto:perl6-all-subscribe@perl.org>
List-unsubscribe: <mailto:perl6-all-unsubscribe@perl.org>
Mailing-list: contact perl6-all-help@perl.org; run by ezmlm
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.16) Gecko/20080708 Thunderbird/2.0.0.16 Mnenhy/0.7.5.666
our $.var — class attribute, accessor, inheritable.
our $!var — class attribute, no accessor, inheritable.



If the second form has no accessor, how can it be inheritable?


<Prev in Thread] Current Thread [Next in Thread>
  • Class attribute declaration question : our $!var, John M. Dlugosz <=