Query: ppi::token::dashedword
OS: osx
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PPI::Token::DashedWord(3) User Contributed Perl Documentation PPI::Token::DashedWord(3)NAMEPPI::Token::DashedWord - A dashed bareword tokenINHERITANCEPPI::Token::DashedWord isa PPI::Token isa PPI::ElementDESCRIPTIONThe "dashed bareword" token represents literal values like "-foo". NOTE: this class is currently unused. All tokens that should be PPI::Token::DashedWords are just normal PPI::Token::Word instead. That actually makes sense, since there really is nothing special about this class except that dashed words cannot be subroutine names or keywords. As such, this class may be removed from PPI in the future.METHODSliteral Returns the value of the dashed word as a string. This differs from "content" because "-Foo'Bar" expands to "-Foo::Bar".SUPPORTSee the support section in the main module.AUTHORAdam Kennedy <adamk@cpan.org>COPYRIGHTCopyright 2001 - 2011 Adam Kennedy. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module. perl v5.16.2 2011-02-25 PPI::Token::DashedWord(3)