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, view it on GitHub, or mute the thread.