Post without Account — your post will be reviewed, and if appropriate, posted under Anonymous. You can also use this link to report any problems registering or logging in.
there's not an alternative that does everything that it does
#!/usr/bin/perluse PDF::Builder;my $pdf = PDF::Builder->open('bad.pdf');
Can't parse `endstreamendobjstartxref6737%%EOF' near 7165 length 40. at /usr/local/share/perl/5.26.1/PDF/Builder/Basic/PDF/File.pm line 726.
Can't parse `' near 6419318318863220736 length 0. at /usr/local/share/perl/5.26.1/PDF/Builder/Basic/PDF/File.pm line 726.
Now I know the issue is with the PDF itself, not the parsing code.