MCQs > IT & Programming > Perl > Output of the following Perl code snippet? local $var = 55; $exp = 'var'; { my $var = 25; print $$exp; }

Perl MCQs

Which of the following statements is/are correct about a basic Perl syntax?

i) A Perl statement does not need to end with a semicolon.

ii) Quotes are not required to be around numbers.


Answer

Correct Answer:

Only statement ii) is correct. 

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