[part2]

On Thu, Jul 15, 2010 at 12:49:02PM -0700, Karen Etheridge wrote:
> "wrong" is subjective. :)

Yes.

> Can you give a specific example of what you are trying to achieve?

I had two DateTime objects representing some dates from a
calendar.  I used the overloading — which I usually assume should
DWIM or it wouldn't be overloaded (subjective again, sorry in
advance).  Then I wanted to know how long the duration was.

($date1-$date2)->seconds;  # seemed reasonable to me.

I literally could not fathom that this shouldn't DWIM and so I
filed a bug report... like a dufus.  I'm sorry I filed the bug
report and I don't mean to be antagonistic, nor do I feel
entitled.

I'm really excited by the whole DateTime suite.  I think it could
be a *lot* easier to use.  It takes quite a while to navigate all
the docs.  I still don't think I have a feel for it and may not
for some time.  Now that I have *some* understanding I see how
foolish I was (or even am still being).  But I don't think I'm
totally wrong either.

> This functionality already exists.

Right.  In the ::Format:: tree.  That's exactly the use problem
I'm talking about.  I don't yet understand how everything fits
together and have no idea (yet) how to plug in the format object
to make concise code like I'm used to using in Perl.  I'm sure
I'll figure it out in the future, but for last night I solved the
problem with Date::Manip, which I already know by heart.

There needn't be a ton more conversation on the subject though.
I understand this functionality already exists and I understand
that I simply don't know how to put it together.  I also have
Faith that the whole setup will be (or possibly even *is)
fantastic.

In retrospect I probably shouldn't have even responded when Dave
closed the bug report.  But I did, and this is my exploitation.

> (PS. Hello fellow skydiver - 46 jumps/~30 min freefall here.)

Cool.  I love skydiving.  I had hoped I was one of the only Perl
fans that was also a skydiver... I suppose that's silly too.

-Paul

-- 
If riding in an airplane is flying, then riding in a boat is swimming.
116 jumps, 48.6 minutes of freefall, 92.9 freefall miles.

Reply via email to