открыть мой $ outfile, '>', $ outpath или $ logger-> logdie ("Ошибка: не удается открыть $ outpath....