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

Re: who uses attributes?

Thread Previous | Thread Next
From:
Tom Christiansen
Date:
May 3, 2011 08:45
Subject:
Re: who uses attributes?
Message ID:
31996.1304437513@chthon
David Cantrell <david@cantrell.org.uk> wrote on Tue, 03 May 2011 11:29:35 BST:

>> Is it true that attributes are still considered experimental?
>> Does anything use them, and if so, for what?

> Test::Class uses them to distinguish between subs that are test methods,
> subs that are test setup/teardown methods, and subs that are neither
> (plus probably a bunch of other stuff that I've forgotten).

That's quite interesting: those look a lot like JUnit @Test annotations.

--tom

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