in reply to scalar number with preceding 0.

You should be using sprintf or printf if you want to ensure that numbers come out with the leading zeros. That's more reliable, and easier to do.

Dave

Replies are listed 'Best First'.
Re^2: scalar number with preceding 0.
by PerlingTheUK (Hermit) on Jul 26, 2004 at 16:44 UTC
    I know, yet I would like what causes this strange effect. I have atually some more lines in my code and have differnt return formats, so I just want to know, why this is replacing the leading 0 with a space.
    It is a bit strange to me, as the minutes are always accepted normally.