Re: Reviewers for "Perl 6 Essentials", 2nd. ed.

2004-02-27 Thread Rafal Pocztarski
Allison Randal wrote: It's that time of year again, and we're looking for reviewers for the 2nd edition of "Perl 6 Essentials". The review will start mid-March and last about a week. Drop me a message if you're interested. I would just love to help. I've read the 1st edition, I've read the apocal

Distributing traits / Rule-matching group properties

2004-02-27 Thread Austin Hastings
Another hypothetical: Suppose you have a browser (which understands "language" traits) or a word processor (which stores "style" and/or "font" information) that is storing some not-text-only string-like things via scalar strings+ or objectrefs. You want to do something like "search for all occu

Re: Thinking about Accessors

2004-02-27 Thread John Williams
On Fri, 27 Feb 2004, Luke Palmer wrote: > John Williams writes: > > I want to get from here > > > > method bar_attr(?$val) is accessor { > > $.bar_attr = $val if exists $val; > > return $.bar_attr; > > } > > > I think this is a good idea. Proxies are a little advanced for som

Re: Thinking about Accessors

2004-02-27 Thread Luke Palmer
John Williams writes: > I want to get from here > > method bar_attr(?$val) is accessor { > $.bar_attr = $val if exists $val; > return $.bar_attr; > } > > to here > > method bar_attr() is rw { > return my $x is Proxy ( >for => $.bar_attr, >

Thinking about Accessors

2004-02-27 Thread John Williams
This may all be explained in the upcoming A12, but I'm trying to get Accessors figured out in my head, and I had a few questions and comments. = paraphrased from Damian in http://www.nntp.perl.org/group/perl.perl6.language/9576) it seems very likely that if you write: class Foo { #

Re: Reviewers for "Perl 6 Essentials", 2nd. ed.

2004-02-27 Thread Vishal Vatsa
On Friday 27 February 2004 05:35, Allison Randal wrote: > It's that time of year again, and we're looking for reviewers for the > 2nd edition of "Perl 6 Essentials". The review will start mid-March and > last about a week. Drop me a message if you're interested. We may have > to narrow down the lis