-
-
26 Oct 2017 10:34:08 UTC
- Distribution: Mojolicious-Plugin-Helper-Vars
- Module version: 0.0004
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (1)
- Testers (656 / 0 / 0)
- Kwalitee
Bus factor: 1- 76.92% Coverage
- License: perl_5
- Perl: v5.6.0
- Activity
24 month- Tools
- Download (3.47KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Mojolicious
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
- Mojolicious::Plugin::Helper::Vars
- NAME
- SINOPSYS
- OPTIONS
- SEE ALSO
- AUTHOR
- BUGS / CONTRIBUTING
- COPYRIGHT
Доброго всем
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
Module Install Instructions
To install Mojolicious::Plugin::Helper::Vars, copy and paste the appropriate command in to your terminal.
cpanm Mojolicious::Plugin::Helper::Vars
perl -MCPAN -e shell install Mojolicious::Plugin::Helper::Vars
For more information on module installation, please visit the detailed CPAN module installation guide.