PPI::Token::QuoteLike - Quote-like operator abstract base class


PPI::Token::QuoteLike - Quote-like operator abstract base class


  isa PPI::Token
      isa PPI::Element


The PPI::Token::QuoteLike class is never instantiated, and simply provides a common abstract base class for the five quote-like operator classes. In PPI, a ``quote-like'' is the set of quote-like things that exclude the string quotes and regular expressions.

The subclasses of PPI::Token::QuoteLike are:

qw{} - the PPI::Token::QuoteLike::Words manpage
`` - the PPI::Token::QuoteLike::Backtick manpage
qx{} - the PPI::Token::QuoteLike::Command manpage
qr// - the PPI::Token::QuoteLike::Regexp manpage
<FOO> - the PPI::Token::QuoteLike::Readline manpage

The names are hopefully obvious enough not to have to explain what each class is. See their pages for more details.

You may note that the backtick and command quote-like are treated separately, even though they do the same thing. This is intentional, as the inherit from and are processed by two different parts of the PPI's quote engine.


See the support section in the main module.


Adam Kennedy <adamk@cpan.org>


Copyright 2001 - 2006 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.

 PPI::Token::QuoteLike - Quote-like operator abstract base class