Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^3: Class Attributes with Moo ?

by tobyink (Abbot)
on Jan 01, 2013 at 10:37 UTC ( #1011136=note: print w/replies, xml ) Need Help??

in reply to Re^2: Class Attributes with Moo ?
in thread Class Attributes with Moo ?

OK, MooX::ClassAttribute is now on CPAN. Subclassing Method::Generate::Accessor to generate class attributes was relatively easy. The hard parts were getting class attributes defined in roles to work, and getting Moose inflation going.

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

Replies are listed 'Best First'.
Re^4: Class Attributes with Moo ?
by mascip (Pilgrim) on Jan 01, 2013 at 16:37 UTC

    Wow, that was fast! You're a star thanks a lot :-)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1011136]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2018-07-17 06:05 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (355 votes). Check out past polls.