hello,

has anyone have had problems with the PDF module?
these two are really annoying:

1)
i have a folder mainly with pdf-files that are all strangely named and
not ending woith the .pdf extension.

if i traverse this folder and use the code below i get this message:

%> Can't read cross-reference section, according to trailer per file

if i rename the files including the .pdf extension one by one i can see
the code works?


2)
if i use the code with the -w switch i get:

%> Use of uninitialized value in numeric ne (!=) at /Library/Perl/PDF.pm
line 38.

why is that?


my $filename = "whatever_found_in_this_dir";
my $pdf=PDF->new ;
$pdf=PDF->new($filename);
next if ( $pdf->IsaPDF ) ;


thanks 
allan

Reply via email to