Which of the given options is the correct output of the following Perl code snippet?
print "T";
my $var1 = qr/(?{ BEGIN { print "P" } })/;
my $exp = "exp";
/$exp$var1(?{ BEGIN { print "Q" } })/;
BEGIN { print "S" }
Correct Answer:
PQST
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Perl MCQ Questions