EC-Council
312-92 · Question #79
312-92 Question #79: Real Exam Question with Answer & Explanation
Sign in or unlock 312-92 to reveal the answer and full explanation for question #79. The question stem and answer options stay visible for context.
Question
What is the following PERL script trying to accomplish? sub mycode_string { join("" map('$_ > 255 ? sprintf("\x{%04x]", $) : chr($) = ~ /[[:cntrl:]]/ ? sprintf(\x%02X", $) : chr($) } unpack("u*", $_[0]))l }
Options
- AConvert hexadecimal to Unicode
- BDisplay test as Unicode
- CConvert hexadecimal to text
- DDisplay Unicode as text
Unlock 312-92 to see the answer
You've previewed enough free 312-92 questions. Unlock 312-92 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.