Thanks, applied
Graham.
On Mon, Apr 22, 2002 at 09:44:01PM +0200, Norbert Klasen wrote:
> Hi,
> line continuations in LDIF files can also occur in comments. Swapping two
> line in Net::LDAP::LDIF fixes this:
>
> --- Net/LDAP/LDIF.pm Thu Feb 21 16:00:55 2002
> +++ Net/LDAP/LDIF.pm Mon Apr 22 21:41:59 2002
> @@ -80,8 +80,8 @@
> $self->eof(1);
> return;
> }
> - $ln =~ s/^#.*\n//mg;
> $ln =~ s/\n //sg;
> + $ln =~ s/^#.*\n//mg;
> chomp($ln);
> $self->{_current_lines} = $ln;
> chomp(@ldif = split(/^/, $ln));
|