@ary = qw(1 2 3 4 5); print "first ", $ary[0], "\n"; @ary = join("\n",@ary); print "second", $ary[0], "\n";