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