Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: ActiveState's PerlApp is causing an odd problem with IO:Socket

by jplindstrom (Monsignor)
on Dec 04, 2002 at 16:53 UTC ( #217531=note: print w/replies, xml ) Need Help??


in reply to ActiveState's PerlApp is causing an odd problem with IO:Socket

It sounds like the module isn't included, and hence isn't used properly at app runtime. It's probably dynamically loaded in a way that PerlApp has problems detecting when deciding which modules to bring along at build time.

The canonical way to solve that problem is to explicitly "use" the module somewhere in your script (preferrably with a little note about PerlApp acting up). But from "IO::Select module is being added at compile time" I take it that you already do that.

What if you "add" or "bind" the file manually with a command line option?

perlapp -h for syntax.


/J

  • Comment on Re: ActiveState's PerlApp is causing an odd problem with IO:Socket
  • Download Code

Replies are listed 'Best First'.
Re: Re: ActiveState's PerlApp is causing an odd problem with IO:Socket
by lclemmer (Initiate) on Dec 04, 2002 at 23:21 UTC
    Um. I guess I'm not being clear enough. Thanks for the suggestions, but no joy here.

    When I saw the problem the first thing I tried was to put in a "use IO::Select", then a "require IO::Select" to see if that made a difference. It didn't. Importantly in all cases PerlApp is still smart enough to find the dependent module and tell us:

    Adding Module: e:/Perl/lib/IO/Socket.pm Adding Module: e:/Perl/lib/IO/Select.pm

    The problem isn't that the module isn't there, it's that for some reason the standalone exe is having trouble doing the "method call" to that module, but when using regular perl libraries, install environment, whatever it works fine.

    So, any other ideas?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://217531]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2022-11-30 17:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?