[Github-comments] [geany/geany] Perl syntax highlight does not understand $package::var syntax (#1679)

Johannes Ernst notifications at xxxxx
Tue Nov 7 22:05:13 UTC 2017


In Perl, I define a module `M.pm` with a shared variable `$foo`:
```
package M;
our $foo = 'something';
1;
```
which I then can use, with a full path, in some other file `f.pl`:
```
use M;
print "The value is $M::foo\n";
1;
```
In the print line, Geany syntax-highlights `$M` but it is supposed to highlight `$M::foo` as that is the name of the symbol.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1679
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20171107/00f8c99d/attachment.html>


More information about the Github-comments mailing list