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.

What version of perl is this, and what version of Net::LDAP is this? The
line number quoted in Constant.pm doesn't match the current version.

Cheers,

Chris

Reply via email to