Hi All, What am I doing wrong here?
$ p6 'my $x="\$1.23"; $x~~s/("\$") (.*?)/$1USD/; say $x;'
USD1.23
I am expecting to seeĀ `1.23USD`
Many thanks,
-T
Hi All, What am I doing wrong here?
$ p6 'my $x="\$1.23"; $x~~s/("\$") (.*?)/$1USD/; say $x;'
USD1.23
I am expecting to seeĀ `1.23USD`
Many thanks,
-T