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

Re^3: Assign Output of Regex to Array (newbie)

by Kenosis (Priest)
on Sep 25, 2013 at 21:03 UTC ( [id://1055747]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Assign Output of Regex to Array (newbie)
in thread Assign Output of Regex to Array (newbie)

You can use the following notation to do that:

$_ .= ' an element' for @PRC_PRIV_ONLY;

This iterates through the array, appending the string ' an element' to each array element.

Log In?
Username:
Password:

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

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

    No recent polls found