Ok, so if I include use Crypt::SSLeay, in the script before building the exe, it works fine on the host with perl and all the modules installed, but on a host without perl, I now get this message below. Before I was including the dlls with the exe for each machine that would use the exe, but following your link I can include the dlls with the exe thank you.
C:\Temp>cam_reset.exe addmac 12345
Can't load 'C:\DOCUME~1\user\LOCALS~1\Temp\par-user\cache-e9e273248eb8
+5950f89b80
530b42a0c4aab23932\b58c32ab.dll' for module Crypt::SSLeay: load_file:T
+his applic
ation has failed to start because the application configuration is inc
+orrect. Re
installing the application may fix this problem at C:/strawberry/perl/
+lib/DynaLo
ader.pm line 203.
at C:/strawberry/perl/site/lib/PAR/Heavy.pm line 82
Compilation failed in require at script/cam_reset.pl line 7.
BEGIN failed--compilation aborted at script/cam_reset.pl line 7.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.