more useful options | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I think you may need to use a later version of ActivePerl as well (at least build 628 or later). I believe your problem is related to the overriding of CORE::GLOBAL::require by PerlApp. The require statement has both runtime and compiletime aspects, and in earlier versions the compiletime aspects are suppressed when require has been overriden.
The problem is that the statement
uses indirect object syntax. Directly above is the require statement:
With a non-overridden require, it will create the IO::Select package at compile time and the statement above is compiled as
Without the compiletime definition of the IO::Select package, Perl compiles it as
because the IO::Socket module had already defined a new() sub at this time. Another "fix" would be to add a
line to the top of your script. In reply to Re: Here's the offending line of code, HTH
by jand
|
|