What will be the output of the following Perl code?
$_ = "Mark is to the left of red window.";
if ( /\b(red)\s+(\w+)/i ) {
print "$2 follows $1.\n";
}
Correct Answer:
window follows red.
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Perl MCQ Questions