in reply to Re: Moose attribute predicate alternative
in thread Moose attribute predicate alternative
Or even:
$attr{$_} = $self->$_ if $self->${\"has_$_"} for qw/x y w h/;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Moose attribute predicate alternative
by hdb (Monsignor) on Jul 04, 2013 at 14:46 UTC | |
by Anonymous Monk on Jul 04, 2013 at 15:35 UTC |