LPI
117-301 · Question #122
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
(30 responses)- A13% (4)
- B3% (1)
- C77% (23)
- D7% (2)
Community Discussion
No community discussion yet for this question.
