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.