I have this simple script opened with CommaIde:
#!/usr/bin/env perl6
my $str = 'foobar';
say $str;
The IDE is highlighting the word 'say' with the error:
Subroutine say is not defined
But, If I execute the script, it runs OK.
The same happens with other core methods like print, printf, etc.
Why are they not recognized?
Software versions:
- Rakudo Star 2020.05.
- Comma IDE 2020.04 Community Edition
Thank you.