1Dancer2::Core::DSL(3) User Contributed Perl DocumentationDancer2::Core::DSL(3)
2
3
4
6 Dancer2::Core::DSL - Dancer2's Domain Specific Language (DSL)
7
9 version 0.301004
10
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
28 <http://advent.perldancer.org/2010/18>
29
31 Dancer Core Developers
32
34 This software is copyright (c) 2021 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.34.0 2022-01-21 Dancer2::Core::DSL(3)