#!/usr/bin/perl use warnings; use strict; use utf8; binmode( STDERR, ':utf8' ); $ENV{ LANG } = 'C'; warn ""; open( my $in, '<', 'non-existing-file' ) || die $!;