@array = ; #### while() { push(@array, $_); } #### open (DF, "test.txt") || die "Can't read 'test.txt': $!\n" #### use strict; use warnings; #### perl -MO=Deparse -e 'open (DF, "test.txt") || die "Cant read test.txt\n";' #### die "Can't read test.txt\n" unless open DF, 'test.txt';