develooper Front page | perl.perl5.porters | Postings from May 2011

Re: who uses attributes?

Thread Previous | Thread Next
From:
Reini Urban
Date:
May 4, 2011 11:06
Subject:
Re: who uses attributes?
Message ID:
BANLkTim=FkN--jYJYGyiEPLfKiA31iOe0A@mail.gmail.com
2011/4/30 Tom Christiansen <tchrist@perl.com>:
> Is it true that attributes are still considered experimental?
>
> Does anything use them, and if so, for what?

B::CC optional type signatures, as outlined in
http://blogs.perl.org/users/rurban/2011/02/use-types.html

> It looks like the :locked sub attribute has been removed, having
> been a pthreads thing not an ithreads thing.
>
> Does :method do anything at all beyond quashing a certain warning?

Not yet.

> What's the deal with :lvalue subs? They are still used, right?

> What about with my/state/our?  All can take them, right?

Right.

> And there are no builtins/predefined attrs for those, right?
> The only reference I can see is the old fields stuff, with
> killed pseudohashes.
-- 
Reini Urban
http://phpwiki.org/           http://murbreak.at/

Thread Previous | Thread Next


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