sprintf - formatted print into a string
sprintf
FORMAT,
LIST
Returns a string formatted by the usual printf conventions of the
C language. See sprintf(3) or printf(3) on your system for details. (The * character for an indirectly specified
length is not supported, but you can get the same effect by interpolating a
variable into the pattern.) If use locale
is in effect, the character used for the decimal point in formatted real numbers is affected by the
LC_NUMERIC locale. See
the perllocale manpage. Some
C libraries' implementations of sprintf
can dump core when fed ludicrous arguments.