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