MCQs > IT & Programming > Perl > What is output of the Perl code snippet? $var = 'Nina'; print PASSWD '${var}::0:0:Superuser:/:/bin/perl\n'; print 'Say hello! to ${var} when ${var}'s here.\n'; '>

Perl MCQs

What will be the output of the following Perl code snippet?

$var = "Nina";

print PASSWD "${var}::0:0:Superuser:/:/bin/perl\n";

print "Say hello! to ${var} when ${var}'s here.\n"; ">

Answer

Correct Answer:

Say hello! to Nina when Nina's here. 

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