in reply to Re: array manipulation with string
in thread array manipulation with string
The OP would like the existing IP address prefixed with i.e. not replaced by, the string 'IP_', viz:
ors/^/IP_/ for values %{ $newHosts->{ server } };
$_ = q/IP_/ . $_ for values %{ $newHosts->{ server } };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: array manipulation with string
by johngg (Canon) on Sep 24, 2009 at 11:05 UTC | |
by Bloodnok (Vicar) on Sep 24, 2009 at 11:58 UTC |