MCQs > IT & Programming > Perl > what is the purpose of the `qw` keyword in the statement: my @array = qw/apple orange grape/;

Perl MCQs

what is the purpose of the `qw` keyword in the following statement: my @array = qw/apple orange grape/;

Answer

Correct Answer: qw is the "quote word" function used to make it easier to quote words, e.g., in generating an array of quoted words.

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Perl Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Perl Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it