Are you using a threaded Perl?

Active State's distribution is always threaded.

Are you sure you have the MySQL table set up properly? Do you have the proper DBD::mysql installed?

The application has been in the works for over 12 months and the database has been working fine. About two weeks ago I did a release that used all hard coded or SQL::Abstract based SQL. It packaged nicely with PerlApp and built nicely into a setup.exe package using NSIS which delivers the database, installs it, and puts around 4.5 million records in the database.

My sin was to change what I was doing! I had a request for a major new feature addition. So I started a new module and I decided to use Class::DBI to get the flexibility with reduced coding time. From teh command line it works beautifully, but after compiling it with PerlApp - nix!

It seems that the thread issue is a red herring. By adding the --nocheck option to the PerlAppinvocation you can avoid the crash. The real issue seems to be module dependencies. Slowly - bit by bit, I am going through and adding use statements for the modules used by other modules. Each time things get a little better! It seems the real problem is that PerlApp is unable to find modules required by other modules!

Thanks for the suggestion, and for the opportunity to vent a little :)

jdtoronto


In reply to Re^2: PerlApp and Class::DBI don't mix! or do they? by jdtoronto
in thread PerlApp and Class::DBI don't mix! or do they? by jdtoronto

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.