-
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Where exactly do you see that? In
but it does not seem to be mandated if you compare with But then again the latter does not use signatures. I'm guessing the |
Beta Was this translation helpful? Give feedback.
-
When calling Instead of |
Beta Was this translation helpful? Give feedback.
When calling
$app->plugin('My::Cool::Plugin', \%config)
, the$app
instance (https://docs.mojolicious.org/Mojolicious) and the hash-ref%config
will be passed on as$config
.Instead of
%config
you can pass on any reference or object, but not a plain scalar.