Ah, thanks for spotting that. The module used to add minutes, but it was
confusing, so I made it add seconds.
RENEEB via RT wrote:
Show quoted text> Thu Apr 10 14:43:06 2008: Request 34839 was acted upon.
> Transaction: Ticket created by RENEEB
> Queue: Time-Simple
> Subject: Mistake in documentation
> Broken in: (no value)
> Severity: (no value)
> Owner: Nobody
> Requestors: RENEEB@cpan.org
> Status: new
> Ticket <URL:
http://rt.cpan.org/Ticket/Display.html?id=34839 >
>
>
> In the SYNOPSIS you give this example:
>
> my $now = Time::Simple->new;
> my $nexthour = $now + 60;
> print "An hour from now is $nexthour.\n";
>
> But that is not an hour from now, but *1 minute*
>
> To get the next hour you have to write
>
> my $now = Time::Simple->new;
> my $nexthour = $now + ( 60 * 60 );
> print "An hour from now is $nexthour.\n";
>
>
>