Dancer2::Core::DSL(3) | User Contributed Perl Documentation | Dancer2::Core::DSL(3) |
NAME¶
Dancer2::Core::DSL - Dancer2's Domain Specific Language (DSL)
VERSION¶
version 1.1.1
FUNCTIONS¶
setting¶
Lets you define settings and access them:
setting('foo' => 42); setting('foo' => 42, 'bar' => 43); my $foo=setting('foo');
If settings were defined returns number of settings.
set ()¶
alias for setting:
set('foo' => '42'); my $port=set('port');
SEE ALSO¶
AUTHOR¶
Dancer Core Developers
COPYRIGHT AND LICENSE¶
This software is copyright (c) 2024 by Alexis Sukrieh.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
2024-07-19 | perl v5.40.0 |