table of contents
App::Dochazka::CLI::TokenMap(3pm) | User Contributed Perl Documentation | App::Dochazka::CLI::TokenMap(3pm) |
NAME¶
App::Dochazka::CLI::TokenMap - Token map
PACKAGE VARIABLES¶
- $token_map
- Maps tokens to regular expression "strings". These strings are
just the "business end" - the final regular expression is
generated from each string in App::Dochazka::CLI::Parser.
Whatever information you need to get out of the token needs to be in parentheses. If the token is just a reserved word from which no information need be extracted, just put the entire thing in parentheses.
Note that the regex comparison that takes place in App::Dochazka::CLI::Parser uses the 'i' modifier for a case-insensitive comparison.
2016-09-15 | perl v5.40.0 |