http://qs1969.pair.com?node_id=811277


in reply to ldif file

It depends on what you are doing. Are you only reading the file, or writing it too? Net::LDAP::LDIF will take an open file handle as a constructor argument. If just reading, you could perhaps set up a stream where it reads from a gunzip process. If read/writing, perhaps it's best to just uncompress it on disk and recompress it afterwards.