Which statement is the most accurate?
Answer : D
Consider the following program code
%color - ("sun" => "yellow", "apple" -> "red");
reverse(%color);
@colorKeys - sort (keys(%color));
foreach(@colorKeys)
{
print($color{$_} . " ");
}
What is the result of executing this program code?
Answer : C
Which of the following tasks is the least effective in reducing errors in Perl scripts?
Answer : D
Running your Perl scripts with a w switch will perform which task?
Answer : D
Which one of the following statements uses correct syntax and expressions?
Answer : C
Consider the following program code:
%employees = ("Lucy", "Accounting", "Armando", "Finance",
"Adrienne", "Marketing");
delete($employees{"Lucy"});
Which of the following lines of code has the same effect as the preceding code?
Answer : D
The values function performs which task?
Answer : B