DR::DateTime::Defaults - Default variables for DR::DateTime.
use DR::DateTime::Defaults; $http_server->hook(before_dispatch => sub { $DR::DateTime::Defaults::TZFORCE = '+0300'; });
The module contains variables that uses in DR::DateTime as defaults.
Default value is +DDDD (Your local timezone).
+DDDD
If the variable is defined, all constructors of DR::DateTime will force timezone to the value.
You can use the feature for example for http-server.
To install DR::DateTime, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DR::DateTime
CPAN shell
perl -MCPAN -e shell install DR::DateTime
For more information on module installation, please visit the detailed CPAN module installation guide.