CompTIA
LX0-102 · Question #197
You're writing a simple Perl script to query an LDAP directory using the Net::LDAP module. Which method would you use to determine if the start_tls() operation was successful?
The correct answer is B. code(). See the full explanation below for the reasoning.
Question
You're writing a simple Perl script to query an LDAP directory using the Net::LDAP module. Which method would you use to determine if the start_tls() operation was successful?
Options
- Aerr()
- Bcode()
- Cresult()
- Dmsg()
How the community answered
(42 responses)- A5% (2)
- B81% (34)
- C2% (1)
- D12% (5)
Community Discussion
No community discussion yet for this question.