1Dancer2::Core::DSL(3) User Contributed Perl DocumentationDancer2::Core::DSL(3)
2
3
4

NAME

6       Dancer2::Core::DSL - Dancer2's Domain Specific Language (DSL)
7

VERSION

9       version 0.300000
10

FUNCTIONS

12   setting
13       Lets you define settings and access them:
14
15           setting('foo' => 42);
16           setting('foo' => 42, 'bar' => 43);
17           my $foo=setting('foo');
18
19       If settings were defined returns number of settings.
20
21   set ()
22       alias for setting:
23
24           set('foo' => '42');
25           my $port=set('port');
26

SEE ALSO

28       <http://advent.perldancer.org/2010/18>
29

AUTHOR

31       Dancer Core Developers
32
34       This software is copyright (c) 2019 by Alexis Sukrieh.
35
36       This is free software; you can redistribute it and/or modify it under
37       the same terms as the Perl 5 programming language system itself.
38
39
40
41perl v5.30.1                      2020-01-29             Dancer2::Core::DSL(3)
Impressum