Unix/Linux Go Back    


CentOS 7.0 - man page for ppi::token::dashedword (centos section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


PPI::Token::DashedWord(3)      User Contributed Perl Documentation	PPI::Token::DashedWord(3)

NAME
       PPI::Token::DashedWord - A dashed bareword token

INHERITANCE
	 PPI::Token::DashedWord
	 isa PPI::Token
	     isa PPI::Element

DESCRIPTION
       The "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.

METHODS
   literal
       Returns the value of the dashed word as a string.  This differs from "content" because
       "-Foo'Bar" expands to "-Foo::Bar".

SUPPORT
       See the support section in the main module.

AUTHOR
       Adam Kennedy <adamk@cpan.org>

COPYRIGHT
       Copyright 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.3				    2011-02-26			PPI::Token::DashedWord(3)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 03:16 AM.