in reply to best way to write code

None of the above.

You should either use sprintf or POSIX::strftime

/J\

Replies are listed 'Best First'.
Re^2: best way to write code
by Anonymous Monk on Apr 13, 2005 at 04:23 UTC
    From the above code whether if condition or unless condition is the best?