[ cc'd back to the list for discussion ]
On Thu, 15 Jul 2004, Michael_G_Schwern via RT wrote:
Show quoted text> This message about DateTime was sent to you by MSCHWERN <MSCHWERN@cpan.org> via rt.cpan.org
>
> Full context and any attached attachments can be found at:
> <URL:
https://rt.cpan.org/Ticket/Display.html?id=6979 >
>
> I tried
>
> $d->day(1);
>
> Thinking it would be the equivalent of:
>
> $d->set(day => 1);
Why, the docs don't say it will ;)
Show quoted text> But it had no effect. It also produced no error or warning. If its not
> going to work it should at least warn me about it.
Hmm, a warning seems reasonable, although I'm almost inclined to die if
anything, since if you're passing arguments to these methods you're
probably pretty confused, and the sooner you find out about it the better.
-dave
/*=======================
House Absolute Consulting
www.houseabsolute.com
=======================*/