in reply to How to add content to an array element?

Try  $blah[0] .= ".0.0.0"; or one of these ways  $blah[0] = $blah[0] . ".0.0.0"; or $blah[0] = "$blah[0].0.0.0";