From: Chris R. <chr...@me...> - 2000-11-27 16:50:24
|
Bing Du <Bi...@ci...> wrote: > 'perldoc Net::LDAP::LDIF' does not provide much detail about > 'write(ENTRIES)' and 'write_cmd(ENTRIES)'. I need to know what data > structure ENTRIES should be? Where can I find an example of using > 'write'? I think they are supposed to be arrays of Net::LDAP::Entry objects. Judging from LDIF.pm line 168pp anyway: [...] foreach $entry (@_) { print "\n" if tell($self->{'fh'}); my $dn = $entry->dn; [...] > By the way, how can I check what version of Net::LDAP I have? Check the $Net::LDAP::VERSION variable. > Thanks, > > Bing > > Bing Du <bi...@ta..., 979-845-9577> > Texas A&M University, CIS, Operating Systems, Unix Cheers, Chris |