Perl::Lexer::Token - Token
Stringify the token as human readable format.
Get a token name.
Get a token type. It's one of the following:
Perl::Lexer::TOKENTYPE_NONE() Perl::Lexer::TOKENTYPE_IVAL() Perl::Lexer::TOKENTYPE_OPNUM() Perl::Lexer::TOKENTYPE_PVAL() Perl::Lexer::TOKENTYPE_OPVAL()
Get a string notation of the type.
Get a yylval. The type of yylval is determined by $token->type.
$token->type
Extract SV from yylval if yylval is B::SVOP.
B::SVOP
To install Perl::Lexer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Perl::Lexer
CPAN shell
perl -MCPAN -e shell install Perl::Lexer
For more information on module installation, please visit the detailed CPAN module installation guide.