develooper Front page | perl.perl6.language | Postings from November 2010

[perl6/specs] 5f6096: [S12] default BUILD should not init private attrs

From:
noreply
Date:
November 5, 2010 21:17
Subject:
[perl6/specs] 5f6096: [S12] default BUILD should not init private attrs
Message ID:
20101106041710.CF0AB422CC@smtp1.rs.github.com
Branch: refs/heads/master
Home:   https://github.com/perl6/specs

Commit: 5f6096f431d57e66b3857702327cdfa649c7aacb
    https://github.com/perl6/specs/commit/5f6096f431d57e66b3857702327cdfa649c7aacb
Author: TimToady <larry@wall.org>
Date:   2010-11-05 (Fri, 05 Nov 2010)

Changed paths:
  M S12-objects.pod

Log Message:
-----------
[S12] default BUILD should not init private attrs

You have to write an explicit BUILD submethod to present
private attribute names as part of the initialziation API.
The default BUILD should not do this.





nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About