in reply to Re: Is there a way of storing 600 in a scalar as 0600 (24 hour clock style)?
in thread Is there a way of storing 600 in a scalar as 0600 (24 hour clock style)?

This way works, but you'll want to be careful with this method.
sprintf("%04s %04s %04s", 600, "0600", 0600);
Results in: "0600 0600 0384"
Octal can get you.
  • Comment on Re: Answer: Is there a way of storing 600 in a scalar as 0600 (24 hour clock style)?
  • Download Code