Currently running blhc with a directory name as argument results in no
error except it warning there are no compiler commands in it. So check
if it is a proper file (or a link to a proper file).
foreach my $file (@ARGV) {
print "checking '$file'...\n" if scalar @ARGV > 1;
foreach my $file (@ARGV) {
print "checking '$file'...\n" if scalar @ARGV > 1;
+ -f $file or die "No such file: $file";
+
open my $fh, '<', $file or die $!;
# Architecture of this file.
open my $fh, '<', $file or die $!;
# Architecture of this file.