Subject: | Date::Manip::Delta->set(delta) resets mode |
According to Date::Manip::Delta(3pm), about set():
When setting the entire delta with "business" or "normal", it flags
the delta as a business or non-business delta respectively. When setting
the entire delta with "delta", the flag is left unchanged.
This does not appear to be the case:
perl -MDate::Manip::Delta -le '$d = new Date::Manip::Delta;
$d->set("mode", "business"); print $d->type("business"); $d->set(delta
=> [0,0,0,0,0,0,0]); print $d->type("business");'
1
0