- or download this
# default exported
our @EXPORT_OK = qw(
...
# default format scope as $SECANA::TimeString::FORMAT
our $FORMAT = '%Y%m%d%H%M%S' if(! defined $FORMAT);
- or download this
use lib $ENV{'SECANAROOT'}."/lib";
use SECANA::TimeString qw($FORMAT);
...
print SECANA::TimeString::now().'\n';
Wed 2008-09-10 10:20:10 +0200
- or download this
use lib $ENV{'SECANAROOT'}."/lib";
use SECANA::TimeString;
...
print SECANA::TimeString::now().'\n';
20080910102010
- or download this
This comes independently of using the exporter
Name "SECANA::TimeString::FORMAT" used only once: \
possible typo at ./test-timestring.pl line 17.