On 06/12/2018 03:04 PM, ToddAndMargo wrote:
$Line ~~ m| "\/\"\>" (.*?) "\" ||;
There is actually two errors:
1 too many "|" at the end of the line
2) "\" should be "/".
The "my $Rev" was caused by escaping the quote,
resulting in the weird error message to be fixed
On 06/12/2018 03:04 PM, ToddAndMargo wrote:
Hi All,
perl6 -c
$Line ~~ m| "\/\"\>" (.*?) "\" ||;
my $Rev = $1;
produces
Variable '$Rev' is not declared
The actual error is too many pipe signs at
the end of the first line.
Many thanks,
-T
This would help. Sorry.
$ perl6 -v
This is Rakud