in reply to Moose 'clone' Constructor
I see MooseX::Clone, which implements more cloning support, but alludes to some bare-bones cloning support in Moose. If I read the discussion right, cloning in Moose is just:
bless { %$old }, ref $old;
... but I don't know if there is a default constructor ->clone() provided.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Moose 'clone' Constructor
by kcott (Archbishop) on Jul 04, 2018 at 10:40 UTC |