On 6 Oct 2003, at 19:39, Chris Ridd wrote:


On 5/10/03 3:27 pm, Bruce Bahlmann <[EMAIL PROTECTED]> wrote:

When using this module as part of a CGI script and then compiling using
active state, I receive the following errors (not if I do not compile
and merely run as a plain old perl script, everything works fine). This
is actually the first time I've had trouble using the activestate perl
compiler with anything...


seek() on unopened filehandle DATA at /PerlApp/Net/LDAP/Constant.pm line 33.
readline() on unopened filehandle DATA at /PerlApp/Net/LDAP/Constant.pm line
36.
"LDAP_SUCCESS" is not exported by the Net::LDAP::Constant module at
/PerlApp/Net/LDAP/Message.pm line 8

I think the DATA filehandle is the magic perl way to access the non-perl
trailing part of the perl module (I can't find the doc describing this
though) and Constant.pm uses this to work out the codes for each constant.

Yes it is.


And it sounds like Bruse is using perl2exe, or something similar, to create a single executable file.

Well unfortunately there are things that I belive do not work with perl2exe and this is one of them

Graham.

Reply via email to