in reply to Re: Time::Piece errors?
in thread Time::Piece errors?

hi there!
yes sauoq is right, replace $min = int($diff->min); with $min = int($diff->minutes);
Antonis