How can i get the error report
Saying
use strict; use warnings;
is always a good idea. What happens if PDF->new($aa) fails and doesn't return an object? The IsaPDF method might not be applicable on $pdf in that case.
Maybe the directory contains only one pdf file? You could check the contents of your @all array with
print "\@all = (",join(',',map { "'$_'" } @all),")\n";
before entering the loop.
Did your script produce any output? If so, post it. And why did you undef $/ ?
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
In reply to Re: I have a problem in finding corrupted PDF files
by shmem
in thread I have a problem in finding corrupted PDF files
by hurix_03
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |