in reply to Re: How to add a day using Time::Piece
in thread How to add a day using Time::Piece
Ah, thank you, as you say 'basic'. I thought that the constant ONE_DAY was from Time::Piece but it is in fact from Time::Seconds. Adding the line 'use Time::Seconds;' fixed it.