Or better yet, just use one of the nicer OO interfaces like Time::Piece
Agreed - the interface is so much easier to work with and for this case requires no brackets at all.
perl -MTime::Piece -we 'print localtime->day_of_week'
🦛
In reply to Re^2: Can you explain the difference with print?
by hippo
in thread Can you explain the difference with print?
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |