LPI
117-300 · Question #252
The following excerpt is from a Perl script that reads from an LDAP database and writes an LDIF file: Which code snippet contains the correct query?
The correct answer is C. $mesg = $ldap->search(. See the full explanation below for the reasoning.
Question
The following excerpt is from a Perl script that reads from an LDAP database and writes an LDIF file: Which code snippet contains the correct query?
Exhibit
Options
- A$mesg = $ldap->search(
- B$mesg = $ldap->search(
- C$mesg = $ldap->search(
- D$mesg = $ldap->search(
How the community answered
(21 responses)- A5% (1)
- B19% (4)
- C71% (15)
- D5% (1)
Community Discussion
No community discussion yet for this question.
