in reply to Re: Reading PDF files
in thread Reading PDF files

Thanks for the response. the PDF file contains string '<</Length 6 0 R/Filter /FlateDecode>>' I think the PDF file is compressed with Deflate. So I tried below code
use IO::Uncompress::Unzip qw(unzip $UnzipError) ; my $z = new IO::Uncompress::Unzip $in or die "unzip failed: $UnzipErro +r\n"; my $op = []; unzip $in => $op;
And also tried using the AnyInflate and AnyUncompress. But the issue still pursues.

can anyone tell me if you have idea about inflate and deflate.

Thanks , Kartheek