Syntax definitions for Perl ModulesClass heirarchy
Posted: Thu Sep 12, 2002 12:09 am
Hi all:
Does anyone have a syntax file, or know how to highlight something like this:
$here = Cwd::getcwd();
I have it working by defining ':' as an operator, and splitting 'Cwd' and 'getcwd' on two lines in keyword section 5. Unfortunately, this is somewhat limiting since there are many other modules that have words that occur quite often in a different context.
For some reason the following is unaceptable in a keyword section by itself:
Cwd::getcwd
AdThanksVance,
Murad
Does anyone have a syntax file, or know how to highlight something like this:
$here = Cwd::getcwd();
I have it working by defining ':' as an operator, and splitting 'Cwd' and 'getcwd' on two lines in keyword section 5. Unfortunately, this is somewhat limiting since there are many other modules that have words that occur quite often in a different context.
For some reason the following is unaceptable in a keyword section by itself:
Cwd::getcwd
AdThanksVance,
Murad