in reply to printing element of anonymous array
Using the core Perl module Time::Piece (which overrides the built-in functions localtime and gmtime, providing functions that return objects):
use Time::Piece;
print gmtime->wday;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: printing element of anonymous array
by haukex (Archbishop) on Mar 04, 2018 at 12:03 UTC | |
by 1nickt (Canon) on Mar 04, 2018 at 17:24 UTC |