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

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

by Kenosis (Priest)
on Sep 25, 2013 at 21:03 UTC ( #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.

Comment on Re^3: Assign Output of Regex to Array (newbie)
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2016-02-08 07:31 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (268 votes), past polls