Syntax Highlighting & Variables

When I lexically scope a variable with my $var; in a subroutine and I have allready a global variable $var outside this subroutine, then the variable within the subroutine is still highlighted with bold characters as if it was the global variable.

Is there a possibility to change that behaviour, so that lexically scoped variables within a block are not be considered as global any more?

Unfortunatelly no, as this is a limitation of the syntax parser. You can only disable this feature completely, from options / syntax coding.

06.04.2004. 19:52

This article hasn't been commented yet.

Write a comment




5 + 8 =