|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re: $_ as default printf arg failsby nvivek (Vicar) |
| on Mar 21, 2013 at 04:40 UTC ( [id://1024661]=note: print w/replies, xml ) | Need Help?? |
|
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 Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||