On Sun, 9 Nov 2003, Jonathan Swartz wrote:
Say I've got a function that takes a duration. I could
1) require the user to do DateTime::Duration-new(...);
2) take a listref argument containing the params, e.g. [days=1] and do
the
creation myself
3) be flexible and take either argument,
On Sun, 9 Nov 2003, Jonathan Swartz wrote:
Say I've got a function that takes a duration. I could
1) require the user to do DateTime::Duration-new(...);
2) take a listref argument containing the params, e.g. [days=1] and do the
creation myself
3) be flexible and take either argument,