1. Toby Inkster
  2. p5-moosex-niftydelegation


Toby Inkster  committed e4460eb

clarify that the status attribute is nothing special; just an example

  • Participants
  • Parent commits eecac7a
  • Branches default

Comments (0)

Files changed (1)

File lib/MooseX/NiftyDelegation.pm

View file
  • Ignore whitespace
 Kinda ugly though. The C<MooseX::NiftyDelegation::Trait::Attribute> trait
 pretties it up a little by automatically wrapping the coderef with a little
-gubbin that sets C<< $_ >> to C<< $self->status >>. Thus:
+gubbin that sets C<< $_ >> to C<< $self->$attribute >>. Thus:
    has status => (
       is       => 'rw',