From: Graham B. <gb...@po...> - 2001-03-30 16:01:29
|
It should be possible using the IO::Scalar package. Create the IO::Scalar object then my $ldif = Net::LDAP::LDIF->new($io_scalar,"w"); $ldif->write(@entries); should work, but I have not tried it Graham. On Fri, Mar 30, 2001 at 10:54:06AM -0500, Eric Nichols wrote: > This might have been asked before. > Is there any way I can take an Net::LDAP::Entry object and save it in LDIF > format to a variable rather than a file? > > I'm sure there's some perl trick to it.. > > > > |