in reply to PDF::API2, $pdf->end
The code snippet looks good(to me), but you indicate that the real code is in "several other loops". Is it possible you are calling $pdf_s->end on a file that already had $pdf_s->end called on it?
Is it possible that a particular pdf is causing the problem, have you kept track of the file names, and output the name of the current file when it crashes?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: PDF::API2, $pdf->end
by Tharg (Scribe) on Nov 07, 2011 at 09:55 UTC |