in reply to Re: Rename a Moo constructor from "new" to "run"
in thread Rename a Moo constructor from "new" to "run"
You don't need the SUPER::.
sub run { shift->new(@_) }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Rename a Moo constructor from "new" to "run"
by karlgoethebier (Abbot) on Mar 30, 2019 at 20:25 UTC | |
by tobyink (Canon) on Apr 01, 2019 at 15:58 UTC | |
by karlgoethebier (Abbot) on Apr 01, 2019 at 16:40 UTC | |
by bliako (Abbot) on Mar 30, 2019 at 22:59 UTC | |
by choroba (Cardinal) on Mar 30, 2019 at 23:06 UTC | |
by bliako (Abbot) on Mar 30, 2019 at 23:34 UTC | |
by AnomalousMonk (Archbishop) on Mar 31, 2019 at 03:33 UTC | |
by choroba (Cardinal) on Mar 30, 2019 at 23:39 UTC | |
by karlgoethebier (Abbot) on Mar 31, 2019 at 12:48 UTC |