-
Are there any examples of programs using Moose in a Mojolicious Controller, available to look at? Some context (MyApp is actually MojoTest): Am new to making my own objects. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You always need to use the full package name in order to instantiate objects, this has nothing to do with the object system you choose. You could use something like https://metacpan.org/pod/aliased to make a shorter name available for classes. |
Beta Was this translation helpful? Give feedback.
You always need to use the full package name in order to instantiate objects, this has nothing to do with the object system you choose. You could use something like https://metacpan.org/pod/aliased to make a shorter name available for classes.