What will be the output ? my $pattern = '.*'; $str =~ /(\Q$pattern\E)/;
any number of any characters
any number of any characters surrounded by Q and E
literally \Q.*\E
literally .*