On Sun, 21 Jan 2007 02:17:08 -0500
"M. Lewis" <[EMAIL PROTECTED]> wrote:

> 
> Given the following code, if I were to want $day, $month, $hour, $minute 
> & $sec to have a leading zero (ie 01 for Jan rather than 1), is my only 
> option to use printf? Or is there a better way.


Look at sprintf

perldoc -f sprintf



Owen





-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to