Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: $_ as default printf arg fails

by nvivek (Vicar)
on Mar 21, 2013 at 04:40 UTC ( #1024661=note: print w/replies, xml ) Need Help??


in reply to $_ as default printf arg fails

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1024661]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2017-09-26 06:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (292 votes). Check out past polls.

    Notices?