Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: phil [...] perkpartners.com
Cc:
AdminCc:

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



Subject: perl-ldap-0.3202 Net/LDAP/LDIF.pm uses open(FH,MODE,LIST) not compatible with perl < 5.6
This problem was found when trying to run make test on 5.00503. t/00ldif-entry......Too many arguments for open at blib/lib/Net/LDAP/LDIF.pm line 124, near "$url)" Patch for the problem: *** blib/lib/Net/LDAP/LDIF.pm Mon Oct 25 14:09:59 2004 --- lib/Net/LDAP/LDIF.pm Mon Jul 19 14:18:24 2004 *************** *** 120,126 **** if ($url =~ s/^file:(?:\/\/)?//) { my $fh = $self->{_attr_fh}; ! unless (open($fh, "<$url")) { $self->_error("can't open $line: $!", @ldif); return; } --- 120,126 ---- if ($url =~ s/^file:(?:\/\/)?//) { my $fh = $self->{_attr_fh}; ! unless (open($fh, '<', $url)) { $self->_error("can't open $line: $!", @ldif); return; }