Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: How to avoid "Use of uninitialized value" with printf?

by GrandFather (Saint)
on Apr 11, 2012 at 05:58 UTC ( [id://964456]=note: print w/replies, xml ) Need Help??


in reply to Re^2: How to avoid "Use of uninitialized value" with printf?
in thread How to avoid "Use of uninitialized value" with printf?

There are a number of interesting parts to that statement. The sprintf is just a printf that returns a string instead of sending it to a file.

map processes lists. The expression inside the map is evaluated for each element in the list in turn with $_ aliased to the current element. A list containing the result of evaluating the expression for each element is returned by map.

join just glues elements in a list together using the first string as glue.

True laziness is hard work
  • Comment on Re^3: How to avoid "Use of uninitialized value" with printf?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2024-04-25 20:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found