http://www.perlmonks.org?node_id=11112159


in reply to Re^2: program cant find values that start with $
in thread program cant find values that start with $

Another way to look at this is via the stringization of qr//:

c:\@Work\Perl\monks>perl -wMstrict -le "my $x = '.'; print for qr{$x}, qr{\Q$x}, qr{\$x}, 'etc...'; " (?-xism:.) (?-xism:\.) (?-xism:\$x) etc...


Give a man a fish:  <%-{-{-{-<

Replies are listed 'Best First'.
Re^4: program cant find values that start with $
by LanX (Saint) on Jan 31, 2020 at 09:02 UTC
    Good point! ++

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice