in reply to printf & sprintf: variable number formats
$int = 5; sprintf "%0${int}i", $myInt;
You were missing the curly-braces around the variable name.
------
We are the carpenters and bricklayers of the Information Age.
Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.
|
|---|