Dancer2::Core::Role::ConfigReader(3pm) | User Contributed Perl Documentation | Dancer2::Core::Role::ConfigReader(3pm) |
Dancer2::Core::Role::ConfigReader - Config role for Dancer2 core objects
version 0.300005
Provides a "config" attribute that feeds itself by finding and parsing configuration files.
Also provides a "setting()" method which is supposed to be used by externals to read/write config entries.
Absolute path to the directory where the server started.
Gets the location from the configuration. Same as "$object->location".
Gets the directory were the environment files are stored.
Returns the whole configuration.
Returns the name of the environment.
List of all the configuration files.
Alias for config. Equivalent to <<$object->config>>.
Get or set an element from the configuration.
Verifies that a key exists in the configuration.
Load the configuration files.
Dancer Core Developers
This software is copyright (c) 2021 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.
2021-03-13 | perl v5.32.1 |