in reply to Re: Can you explain the difference with print?
in thread Can you explain the difference with print?

That's a classic mistake

Thanks for the explanation - it's now very clear :)

Or better yet, just use one of the nicer OO interfaces...

I was doing that oneliner to remind myself what [6] was as I was working on a bit of pre-existing code. It has now been converted to use Time::Piece's localtime->wdayname so that the rest of the code uses day names instead of magic numbers.