Hi, I'd like to add a write_version() routine to Net::LDAP::LDIF that writes the version to the file (provded it is legal to do so) If the routine is not called by the user, it should be called automatically when writing the first entry (using the same logic that is used now for writing the "version: 1" like)
To have a separate user-callable routine for this allows to write LDIF files with comments before each entry like this one --- cut --- version: 1 # the master of the directory dn: cn=Boss,dc=sample,dc=local objectclass ... ... # his assistant dn: cn=assictant, dc=sample,dc=local ... # EOF --- cut --- Any objections ? (I'd like to start coding on Monday) Peter -- Peter Marschall eMail: [EMAIL PROTECTED]