Just for TIMTOWTDI, Time::gmtime has been in core ~10 years longer:
use Time::gmtime; print gmtime->wday;
But there is a difference: Time::Piece's wday index is 1-based (1=Sunday) while gmtime and Time::gmtime's wday is 0-based (0=Sunday).
In reply to Re^2: printing element of anonymous array
by haukex
in thread printing element of anonymous array
by perltux
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |