Skip Menu |

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

Report information
The Basics
Id: 17306
Status: rejected
Priority: 0/
Queue: perl-ldap

People
Owner: GBARR [...] CPAN.ORG
Requestors: stephen [...] jadevine.org.uk
Cc:
AdminCc:

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



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