Getopt::Gen::Parser - Low-level Yapp parser for Getopt::Gen.
use Getopt::Gen::Parser; $qpp = Getopt::Gen::Parser->new(); $qpp->parse(yylex => sub { ... }); # ... any other Parse::Yapp parser routine $qpp->show_hint($hint_code,$curtok,$curval);
Getopt::Gen::Parser is a parser class for use by Getopt::Gen. This class should not need to be accessed directly. Instead, use the interface methods in Getopt::Gen.
Getopt::Gen
The following package variables are declared by Getopt::Gen::Parser.
(None).
None.
Most methods are inherited from Parse::Yapp::Driver. See Parse::Yapp for details on these.
Parse::Yapp::Driver
show_hint($hint_code,$curtok,$curval)
Hack. Places $hint_code into the 'hint' field of the parser object's USER (read "YYData()") hashref, sets YYCurtok and YYCurval to $curtok and $curval respectively, and calls the parser object's YYError() method. See Getopt::Gen for details on the 'hint' convention.
USER
Probably many.
Perl by Larry Wall.
Parse::Yapp by Francois Desarmenien.
Bryan Jurish <Gen/cmdline_pod.pm>
perl(1). yapp(1). Parse::Yapp(3pm). Getopt::Gen(3pm).
To install Getopt::Gen, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Getopt::Gen
CPAN shell
perl -MCPAN -e shell install Getopt::Gen
For more information on module installation, please visit the detailed CPAN module installation guide.