in reply to Broken Date Handling

It looks like you don't pad the value of $m after decrementing it - and 10-1 == 9. (not "09").
Cheers.
Update: After trying that out, I'm wrong. Guess that's rashness for you.
davis
Is this going out live?
No, Homer, very few cartoons are broadcast live - it's a terrible strain on the animator's wrist

Replies are listed 'Best First'.
Re: Re: Broken Date Handling
by davorg (Chancellor) on Oct 10, 2002 at 10:35 UTC

    You're in the right sort of area, but not padding $m is a good thing. Today's date works fine.

    --
    <http://www.dave.org.uk>

    "The first rule of Perl club is you do not talk about Perl club."
    -- Chip Salzenberg