- or download this
$_=PDF::Core::PDFGetline ($fd,\$offset);
die "Can't read cross-reference section, according to trailer\n" if
+ ! /xref\r?\n?/ ;
- or download this
eval {
PDF::whatever_method();
...
if( $@ ) {
print "Ooops an error occurred processing that pdf file;
}
- or download this
while( @FILES ) {
$somevar = new PDF( $_ );
process( $somevar );
}
- or download this
while( @FILES ) {
eval {
...
print "Ooops on $_\n";
}
}