Hello,
So I've got a functioning .pl script that runs without errors, listening for network traffic. I decide to use PerlApp to make it a freestanding .exe file.
The program is built with no errors, but when it runs it dies with the following error:
Can't locate object method "Select" via package "IO::Select" at IO/Socket.pm line 168.
The IO::Select module is being added at compile time, so that's not the problem. When I look at line 168 of IO::Socket I don't see what the problem is--it's just a require statement for Select.
Oddly, when I built the .exe as a non-freestanding application (requiring Perl on the box) it runs without this error.
Has anyone seen this before, and is there a way to make it work??? I really can't install Perl on the systems this is going to run on (as much as I might want to).
Lee
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.