open (MYFILE, "status2.txt"); $a=; print "$a"; # can be written as use IO::All; $a < io("status2.txt"); print "$a";