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.
|
|---|