in reply to Creating a copy of an array

@second = map{[@_]} @first; #or more generally use Storable(dclone); @second = @{dclone(\@first)};