#!/usr/bin/env perl use strict; use warnings; open(my $ofh, '>', 'outfile.txt') or die($!); print $ofh <