in reply to Re^2: code review?
in thread code review?

In addition to kyle's superb suggestions, you might also consider using the special variable $. (INPUT_LINE_NUMBER) instead of $linenum in your sub CheckForImageReferencesInFiles:
sub CheckForImageReferencesInFiles { my $filename = $_; my $line = ""; open hFile, $filename or die "Failed to open $filename\n"; while ($line = <hFile>) { chomp($line); if ($line =~ m/src="([a-zA-Z0-9\_\-\/])+\.(gif|jp[e]?g|bmp)"/i +) { $line = $&; ReportFileFound($saved_name, $line, $., 1); } } close hFile; }