I should probably wait to post this until I've calmed down a little, but I'm at my wits end and I know I won't be able to sleep if I don't post.

I have 2 servers: one is my live linux virtual web server and the 2nd started life as a cloned version of the first. Now, my 2nd serves as my development server which I then copy my perl files from to the first server. As far as I know, they have both been updated and modified to be the same as time goes on.

Everything has been peachy for the last 2 years until today when I copied the latest round of files from the 2nd server to the 1st. I have verified that both servers are running the same versions of PDF::API2 (2.019) and PDF::TextBlock (0.04). However, I get the following error on server #1:

Internal exception error - Insecure dependency in sprintf while runnin +g with -T switch

when I $tb->text($t);$tb->apply; anything where $t is large enough to wrap. Of course, the identical code files work fine on server #2. I have copied these files from server #2 to #1 multiple times now to make sure I didn't miss something, but it still works on #2, but not #1.

Does anyone have any ideas why this is happening?


In reply to PDF::API2 & PDF::Textblock problems by ksublondie

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.