Hello eversuhoshin,

I had to create the target file by changing this line:

my $pdftwo = PDF::API2->open(...) ;

to this:

my $pdftwo = PDF::API2->new();

Then the script ran successfully to completion, with no errors. I then changed the new call back to open, and ran again, also successfully and with no errors. The second run appended the same output to the output from the first run. One run takes around 2 minutes and produces 490 PDF pages. Here is a sample of the output (first page):

CUSIP NO ISSUER NAME ISSUER DESCRIPTION STATUS 14:23 IVM001 Run Date: 3/24/2014 ** List of Section 13F Securities ** Page 1 Year: Run Time: 2014 Qtr: 1 C15396 AA 9 CANADIAN SOLAR INC DEBT 4.250% 2/1 ADDED D18190 89 8 * DEUTSCHE BANK AG NAMEN AKT D18190 90 8 DEUTSCHE BANK AG CALL D18190 95 8

So, I cannot reproduce the error you report.

Hope that helps (somehow),

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,


In reply to Re: Create new pdf File by Athanasius
in thread Create new pdf File by eversuhoshin

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.