Next: , Previous: Text scanner, Up: Extraction options

3.6.5 Perl Scanner


The perl scanner is intended for perl-language documents. Tokens are all words, Perl Keywords are included. Comments & string declarations are ignored, as well as the documentation. It is customizable to the extent that character classes can be designated as token constituents or as token delimiters. The default token constituents are the alpha-numerics; all other characters are considered token delimiters.

Perl support has been originally written by Madhu Gogulapati. This scanner is considered experimental; please report any problems you should encounter to ‘’ .

-i character-class
Include characters belonging to character-class in tokens.
-x character-class
Exclude characters belonging to character-class from tokens, i.e., treat them as token delimiters.
Include tokens from the documentation. By default, the tokens in the documentation are ignored.