- or download this
$ perl
if ( '_$x_' =~ '$x') { print "match 1" }
if ( '_$x_' =~ /\$x/){ print "match 2" }
__DATA__
match 2
- or download this
perl -MO=Deparse
if ( '_$x_' =~ '$x') { print "match 1" }
...
}
__DATA__
- syntax OK
- or download this
perl -MO=Concise
if ( '_$x_' =~ '$x') { print "match 1" }
...
d <0> pushmark s ->e
e <$> const[PV "match 2"] s ->f
- syntax OK