in reply to Time::Piece errors?

The error says it all. There is no method called min() in Time::Seconds. You probably want minutes() instead.

-sauoq
"My two cents aren't worth a dime.";

Replies are listed 'Best First'.
Re: Re: Time::Piece errors?
by atnonis (Monk) on May 01, 2003 at 10:00 UTC
    hi there!
    yes sauoq is right, replace $min = int($diff->min); with $min = int($diff->minutes);
    Antonis