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;
In reply to Re: printing element of anonymous array
by 1nickt
in thread printing element of anonymous array
by perltux
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |