Skip Menu |

This queue is for tickets about the perl-ldap CPAN distribution.

Report information
The Basics
Id: 12419
Status: resolved
Priority: 0/
Queue: perl-ldap

People
Owner: Nobody in particular
Requestors: dkaminsky [...] bear.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: (no value)
Fixed in: (no value)



Subject: constants not exported by Net:::LDAP::Constant module
Using perl5, perl5.6.1, perl 5.8.0, I tested the module version 0.33 with a simple example script that begins (lines numbered for convenience): 1. #!/usr/local/bin/perl 2. # 3. 4. BEGIN { 5. unshift @INC, "/a/dkaminsk/dev"; # the location of the modules 6. } 7. 8. use Net::LDAP; "LDAP_SUCCESS" is not exported by the Net::LDAP::Constant module at ./ldap.pl line 8 "LDAP_COMPARE_TRUE" is not exported by the Net::LDAP::Constant module at ./ldap.pl line 8 "LDAP_COMPARE_FALSE" is not exported by the Net::LDAP::Constant module at ./ldap.pl line 8 Can't continue after import errors at ./ldap.pl line 8 BEGIN failed--compilation aborted at ./ldap.pl line 8, <DATA> line 1. Thanks
Subject: [cpan #12419] Re: AutoReply: constants not exported by Net:::LDAP::Constant module
Date: Tue, 26 Apr 2005 14:06:35 -0400
From: "Kaminsky, Douglas (Exchange)" <DKaminsky [...] Bear.com>
To: <bug-perl-ldap [...] rt.cpan.org>
RT-Send-Cc:
Issue resolved. Please disregard. Show quoted text
-----Original Message----- From: perl-ldap [mailto:bug-perl-ldap@rt.cpan.org] Sent: Tuesday, April 26, 2005 1:43 PM To: Kaminsky, Douglas (Exchange) Subject: [cpan #12419] AutoReply: constants not exported by Net:::LDAP::Constant module Greetings, This message has been automatically generated in response to your bug report about perl-ldap, a summary of which appears below. There is no need to reply to this message right now. Your bug in perl-ldap has been assigned an ID of [cpan #12419]. Please include the string: [cpan #12419] in the subject line of all future correspondence about this issue. To do so, you may reply to this message. Thank you, bug-perl-ldap@rt.cpan.org ------------------------------------------------------------------------ - Using perl5, perl5.6.1, perl 5.8.0, I tested the module version 0.33 with a simple example script that begins (lines numbered for convenience): 1. #!/usr/local/bin/perl 2. # 3. 4. BEGIN { 5. unshift @INC, "/a/dkaminsk/dev"; # the location of the modules 6. } 7. 8. use Net::LDAP; "LDAP_SUCCESS" is not exported by the Net::LDAP::Constant module at ./ldap.pl line 8 "LDAP_COMPARE_TRUE" is not exported by the Net::LDAP::Constant module at ./ldap.pl line 8 "LDAP_COMPARE_FALSE" is not exported by the Net::LDAP::Constant module at ./ldap.pl line 8 Can't continue after import errors at ./ldap.pl line 8 BEGIN failed--compilation aborted at ./ldap.pl line 8, <DATA> line 1. Thanks *********************************************************************** Bear Stearns is not responsible for any recommendation, solicitation, offer or agreement or any information about any transaction, customer account or account activity contained in this communication. ***********************************************************************
Date: Tue, 26 Apr 2005 13:02:01 -0500 (CDT)
Subject: Re: [cpan #12419] constants not exported by Net:::LDAP::Constant module
From: "Graham Barr" <gbarr [...] pobox.com>
To: bug-perl-ldap [...] rt.cpan.org
RT-Send-Cc:
On Tue, April 26, 2005 12:42 pm, Guest via RT said: Show quoted text
> > This message about perl-ldap was sent to you by guest <> via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=12419 > > > Using perl5, perl5.6.1, perl 5.8.0, I tested the module version 0.33 > with a simple example script that begins (lines numbered for convenience):
What platform are you on ? Does /a/dkaminsk/dev/Net/LDAP/Constant.pm exist and contain POD ? Graham. Show quoted text
> > 1. #!/usr/local/bin/perl > 2. # > 3. > 4. BEGIN { > 5. unshift @INC, "/a/dkaminsk/dev"; # the location of the modules > 6. } > 7. > 8. use Net::LDAP; > > "LDAP_SUCCESS" is not exported by the Net::LDAP::Constant module at > ./ldap.pl line 8 > "LDAP_COMPARE_TRUE" is not exported by the Net::LDAP::Constant module at > ./ldap.pl line 8 > "LDAP_COMPARE_FALSE" is not exported by the Net::LDAP::Constant module at > ./ldap.pl line 8 > Can't continue after import errors at ./ldap.pl line 8 > BEGIN failed--compilation aborted at ./ldap.pl line 8, <DATA> line 1. > > Thanks > >
Date: Tue, 26 Apr 2005 14:30:28 -0500 (CDT)
Subject: Re: [Comment] RE: [cpan #12419] constants not exported by Net:::LDAP::Constant module
From: "Graham Barr" <gbarr [...] pobox.com>
To: bug-perl-ldap [...] rt.cpan.org
RT-Send-Cc:
On Tue, April 26, 2005 1:36 pm, dkaminsky@bear.com via RT said: Show quoted text
> This message about perl-ldap was sent to you by dkaminsky@bear.com via > rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=12419 > > > This is a comment. It is not sent to the Requestor(s): > > I apologize for the trouble. It turned out to be an MS vs. *NIX issue in > the text formatting. The extra whitespace ('\r' I believe) was causing > the regexp to not properly parse the POD. I realized it right after I > submitted the bug report. Maybe this should be listed as a caveat? > Normally, this type of thing doesn't affect whether or not modules will > load, but since the constants are read out of the documentation, it > becomes a fatal error in this case.
Hm. I do not use MS so I do not see this. Could you attempt to track it down a bit more. I cannot see why it would fail. That is unless the line local $/=''; # paragraph mode causes the whole POD to be read instead of reading paragraphs. I would like to fix it rather than list as a caveat Graham.