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
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
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
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,
>
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 { #
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