The module used here is Mozilla::LDAP::API qw(:constant :api :ssl). Now I don't know much about this module. Please can I get some information regarding this module.
As with most Perl modules, the documentation is on CPAN.
Secondly, I am getting a "segmentation fault(coredump)" error when I am trying to run the script. Is this because the module is not properly installed.
It's impossible to tell. Is anything being written to the web server error log?
If needed I can also provide the script
What would be helpful would be a cut-down version of the program (maybe 20-30 lines) that exhibits this problem. If you post the whole thing then people might not be interested enough to read it all.
--
< http://dave.org.uk>
"The first rule of Perl club is you do not talk about
Perl club." -- Chip Salzenberg
| [reply] |
What has changed ? If the script was previously running ok, something must have been done to break it. What could that be ?
You could also try to isolate the problem - ie what's the smallest script you can come up with that produces the segfault ? Does a script that contains only "use Mozilla::LDAP::API qw(:constant :api :ssl);" segfault ? If not, it must be a function call that's doing it ... knowing which specific function call might be useful.
Cheers, Rob | [reply] |