Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DateTime CPAN distribution.

Report information
The Basics
Id: 6980
Status: resolved
Priority: 0/
Queue: DateTime

People
Owner: DROLSKY [...] cpan.org
Requestors: schwern [...] pobox.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: $d->day(1); == $d->set(day => 1);
Its rather odd to have one interface style for getting and a different one for setting. my $day = $d->day; # get $d->set(day => 1); # set To make things confusing, some accessors do accept arguments. ymd, hms, etc... $d->day(1) and friends should be the equivalent of $d->set(day => 1) to make the interface consistent and obvious.