Hi All,

What am I doing wrong here?

$ perl6 -e 'my $x="abc\(123\)def"; $x ~~ m/(abc\))(123)(\(def)/; say "$x\n\$0=<$0> \$1=<$1> \$2=<$2>\n";'

Use of Nil in string context
  in block <unit> at -e line 1
Use of Nil in string context
  in block <unit> at -e line 1
Use of Nil in string context
  in block <unit> at -e line 1

abc(123)def
$0=<>  $1=<>  $2=<>


Many thanks,
-T


--
~~~~~~~~~~~~~~~~~~~~~~~~
Yesterday it worked.
Today it is not working.
Windows is like that.
~~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to