MCQs > IT & Programming > Perl > Output of the Perl code snippet? 'PPQS' =~ /P+Q?(?{print 'Count=$count\n'; '>

Perl MCQs

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

'PPQS' =~ /P+Q?(?{print  "Count=$count\n"; '>

Answer

Correct Answer:

PPQ

PP

P

PQ

P

Count=5


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