Well I'm developing some perl code and i need for it to be installed on some locations on servers accross the network. Thing is that a lot of the computers dont have perl and i cant install it there. So i want to compile from Perl into Binary.

I looked up perlcc and it works pretty fine for compiling some simple scripts. But in this case i have MySQL back end so i need to use the DBI module. When i use the DBI module i geta huge file that doesnt execute, with an error message like Cant locate method connect via package DBI line whatever...

I tried making the B:CC module, but that doesnt work out to well either since it involves having some perl.h and other header files that all the machines dont have.

What can I do to ensure that my code will run on machines where there is no perl interpretter ?
I'm at an end here would appreciate any help !
Cheers,
Aquitaine

In reply to aquitaine by aquitaine

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.