no warnings "all"; #### #!/usr/bin/perl use strict; use warnings; #### ... or die "cannot open ...: $!";