open my $fin, '<:raw', $full_path or die WHATEVER; local \$; # or use File::Slurp print <$fin>;