Hi All,
Another "perl6 -c" bug to fix
my $CleanOldRev = $OldRev ~~ s:global/ "-|_|:|u" / ".";
$CleanOldRev ~=".0.0.0.0.0.0.0.0.0.0";
===SORRY!=== Error while compiling /home/linuxutil/GetUpdates.pl6
Unsupported use of ${Title}; in Perl 6 please use {$Title}
at
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
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