What will be the output of the following Perl program?
#!perl -l
"ooooos" =~ /
(?:
o
|
(?{print "Greetings"})
(?=(os))
)*
/x;
print $&;
print $1;
Correct Answer:
Greetings
Ooooo
Explanation:
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
More Perl MCQ Questions