LPI
117-301 · Question #139
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
(21 responses)- A10% (2)
- B86% (18)
- D5% (1)
Community Discussion
No community discussion yet for this question.