diff options
Diffstat (limited to 'perl.prov')
-rwxr-xr-x | perl.prov | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -85,7 +85,11 @@ sub process_file { my ($file) = @_; - open(FILE, "<$file") || return; + if (!open(FILE, $file)) { + warn("$0: Warning: Could not open file '$file' for reading: $!\n"); + return; + } + my ($package, $version, $incomment, $inover) = (); |