Доброго всем
Mojolicious::Plugin::Helper::Vars
¡ ¡ ¡ ALL GLORY TO GLORIA ! ! !
0.0004
NAME
Mojolicious::Plugin::Helper::Vars - Stash & every_params to one var named.
SINOPSYS
$app->plugin('Helper::Vars');
# controller
$c->param('foo'=>[1,2,3]);
$foo = $c->vars('foo'); # 1
$c->stash('foo'=>['undef']);
$c->stash('Foo'=>5);
@foo = $c->vars('foo', 'Foo'); # (1,2,3,undef,5)
OPTIONS
helper
Name of the helper. Default - 'vars'.
Возвращает объединенный список stash & every_param и в скалярном контексте первое из определенных. String value 'undef' convert to undef.
SEE ALSO
Mojolicious::Plugin::ParamExpand
AUTHOR
Михаил Че (Mikhail Che), <mche [on] cpan.org>
BUGS / CONTRIBUTING
Please report any bugs or feature requests at https://github.com/mche/Mojolicious-Plugin-Helper-Vars/issues. Pull requests also welcome.
COPYRIGHT
Copyright 2016-2017 Mikhail Che.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 18:
Unknown directive: =head