Thrift::IDL::Enum
Inherits from Thrift::IDL::Definition
Scalar accessors
Numbering the Enum is optional in the Thrift spec. Calling this method will assign incremented numbers to each value (if they have no number)
Return the value (number) with the given name
Return the name for a given value (number)
To install Thrift::Parser, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Thrift::Parser
CPAN shell
perl -MCPAN -e shell install Thrift::Parser
For more information on module installation, please visit the detailed CPAN module installation guide.