%
| Percent sign
|
c
| Character
|
d
| Decimal integer
|
e
| Exponential format floating-point number
|
E
| Exponential format floating-point number with uppercase E
|
f
| Fixed-point format floating-point number
|
g
| Floating-point number, in either exponential or fixed decimal notation
|
G
| Like g with uppercase E (if applicable)
|
ld
| Long decimal integer
|
lo
| Long octal integer
|
lu
| Long unsigned decimal integer
|
lx
| Long hexadecimal integer
|
o
| Octal integer
|
s
| String
|
u
| Unsigned decimal integer
|
x
| Hexadecimal integer
|
X
| Hexadecimal integer with uppercase letters
|
p
| The Perl value's address in hexadecimal
|
n
| Special value that stores the number of characters output so far into the next variable in the parameter list. |