in reply to Re: Can you explain the difference with print?
in thread Can you explain the difference with print?
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'
🦛
|
|---|