use strict; use warnings; use autodie; # or give a die option when opening each filehandle