open FH, '< myfile' or warn "$!\n" ; my (@array) = ; close FH; $listbox->update; # may not be needed