Subject: | Net::LDAP::LDIF - provide a rewind method |
I would like to be able to rewind the filehandle in Net::LDAP::LDIF so I
can do multiple passes of an LDIF without finishing the object and
creating a new one. I couldn't see a better way than doing this:
seek $ldif->{fh},0,0;
$ldif->{_current_lines}= undef;
$ldif->{_next_lines}= undef;
$ldif->eof(0);
It would be nice if a method with this functionality was available.
Thanks,
Stephen Quinney