my @array; my @newarray = @array || (); ### the same thing: my @new_array = @array; ## That is, if @array is undef, it is just extra code ## doing the test and assigning () to the new array... ## Just skip all that... they are the same op.