dpath2o has asked for the wisdom of the Perl Monks concerning the following question:
has 'x' => ( is => 'rw', isa => 'str', default => 'was once a ' ); has 'y' => ( is => 'rw', isa => 'str', default => $self->{x}.'y' );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Moose Attribute Default Dependency
by boftx (Deacon) on Nov 12, 2013 at 21:57 UTC | |
by dpath2o (Acolyte) on Nov 12, 2013 at 23:14 UTC | |
by boftx (Deacon) on Nov 12, 2013 at 23:26 UTC | |
by dpath2o (Acolyte) on Nov 13, 2013 at 00:33 UTC | |
by chromatic (Archbishop) on Nov 13, 2013 at 01:55 UTC | |
| |
by boftx (Deacon) on Nov 13, 2013 at 01:38 UTC | |
|