The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Getopt::Gen::Parser - Low-level Yapp parser for Getopt::Gen.

SYNOPSIS

  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);

DESCRIPTION

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.

PACKAGE VARIABLES

The following package variables are declared by Getopt::Gen::Parser.

(None).

EXPORTS

None.

METHODS

Most methods are inherited from Parse::Yapp::Driver. See Parse::Yapp for details on these.

  • 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.

BUGS AND LIMITATIONS

Probably many.

ACKNOWLEDGEMENTS

Perl by Larry Wall.

Parse::Yapp by Francois Desarmenien.

AUTHOR

Bryan Jurish <Gen/cmdline_pod.pm>

SEE ALSO

perl(1). yapp(1). Parse::Yapp(3pm). Getopt::Gen(3pm).