Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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.


Comment on Re: $_ as default printf arg fails

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1024661]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (11)
As of 2014-09-18 17:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (120 votes), past polls