Dancer2::Core::DSL - Dancer2's Domain Specific Language (DSL)
version 0.205002
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.
alias for setting: set('foo' => '42'); my $port=set('port');
http://advent.perldancer.org/2010/18
Dancer Core Developers
This software is copyright (c) 2017 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.
To install Dancer2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dancer2
CPAN shell
perl -MCPAN -e shell install Dancer2
For more information on module installation, please visit the detailed CPAN module installation guide.