As per perl document, printf function used without arguments will take value of $_ and it gets printed. When you specify format, need to give LIST argument and it won't take $_ value by default.
In reply to Re: $_ as default printf arg fails
by nvivek
in thread $_ as default printf arg fails
by Neutron Jack
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |