What will be the output ? my $pattern = '.*'; $str =~ /(\Q$pattern\E)/;

  1. any number of any characters

  2. any number of any characters surrounded by Q and E

  3. literally \Q.*\E

  4. literally .*


Correct Option: D

Find more quizzes: