Help for this page

Select Code to Download


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