

Reverse rewinddir rindex rmdir scalar seek seekdir select semctl semget semop send setgrent sethostent setnetent Push quotemeta qu rand read readdir readline readlink readpipe recv redo ref rename require reset return Msgrcv msgsnd my ne next no not oct open opendir or ord our pack package pipe pop pos print printf prototype

Int ioctl join keys kill last lc lcfirst le length link listen local localtime lock log lstat lt map mkdir msgctl msgget Getpwuid getservbyname getservbyport getservent getsockname getsockopt glob gmtime goto grep gt hex if index Getpeername getpgrp getppid getpriority getprotobyname getprotobynumber getprotoent getpwent getpwnam Getgrgid getgrnam gethostbyaddr gethostbyname gethostent getlogin getnetbyaddr getnetbyname getnetent NULL _FILE_ _LINE_ _PACKAGE_ĪUTOLOAD BEGIN CORE DESTROY END EQ GE GT INIT LE LT NE CHECK abs accept alarm and atan2 bind binmodeīless caller chdir chmod chomp chop chown chr chroot close closedir cmp connect continue cos crypt dbmcloseĭbmopen defined delete die do dump each else elsif endgrent endhostent endnetent endprotoent endpwentĮndservent eof eq eval exec exists exit exp fcntl fileno flock for foreach fork formline ge getc getgrent The perl lexer does have some glitches as it seems.Ĭopy the following into a document and set the lexer to perl. (If it’s not scintilla’s fault, there’s a chance that it will be fixed in Notepad++ if it’s a bug that’s still in scintilla, or that was fixed versions and years ago, there’s not much chance of a fix occurring.) I’ll have to find some time (not right now) to dig into this more. Without digging into the code, I cannot tell whether the scintilla lexer is recognizing that these things are special, and adding them to a category that’s for some reason not listed in the Notepad++ style dialog, or whether the lexer has a bug and is categorizing it wrong. So it’s only in the heredoc-style constructions: so the lexer can tell the difference between the left-shift and the heredoc <<, but then doesn’t apply the right styling. Even stranger, 1< Oddly, in the left-shift version of << in 1 << 5, it can also be 1<<5 and still properly highlght. In fact, in going thru all the perl styles, qx and it’s bretheren aren’t influenced by any of the perl-specific styles (not even the DEFAULT… it seems that only spaces are influenced by DEFAULT all “barewords”, like the module names and the HEREDOC and similar just inherit Notepad++'s normal Global Styles > Default Style coloration).įor the heredoc-style << (in the print < (I think they’ve been around since 5.000 or earlier, but that’s as far back as I can prove: download the 5.004 tarball, and look at pod/perlop.pod, which is a text document.) Is someone having an idea of what could be the problem (perhaps an underlying Scintilla restriction/bug on Perl syntaxing) and how could it be fixed or circumvented / got around ?īy the way, I would like to tell the author: “what a nice job and thank you to let us use a so nice piece of code for our needs and our q qq qx qw qr have been around since at least Perl v5.004 released in May 1997, so they’re not overly new. The Here-doc text itself is highlighted as ‘default’ and not as “text” nor as “longquote” or anything else that could be relevent. The ‘<<’ operator/modifier in a print statement to produce HERE-DOCS as in Unixes-like shells (Korn, bash) is not highlighted neither as an operator nor a punctuation. It works well for most of perl syntax but I have some trouble when using the following per built-in functions/statements in my code:Īll the q* perl functions (qx, qw, qr…) are not highlighted as perl keywords in my code, while being declared in the “keywords” list in the perl “Syntax Highlighting” syntax configuration tab.
#Perl syntax download
#Perl syntax code