Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^4: Regex in a printfile?

by Andrew_Levenson (Hermit)
on Nov 16, 2006 at 02:57 UTC ( [id://584352]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Regex in a printfile?
in thread Regex in a printfile?

Hey, I understand that! Well, all except the final $s in map. What does that do?
Thanks.

Replies are listed 'Best First'.
Re^5: Regex in a printfile?
by ikegami (Patriarch) on Nov 16, 2006 at 03:19 UTC
    It's like return $s (but you can't use return that way in map). map create a list from the return value(s) of the expression in the curlies.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2024-04-26 03:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found