The Moo docs suggest using BUILDARGS to adjust the construction process.
There you're free to react to different parameter formats.
HTH! :)
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
In reply to Re: Moo different parameters for constructor
by LanX
in thread Moo different parameters for constructor
by williamcharles
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |