Adam Kennedy > PPI-1.215 > PPI::Token::QuoteLike

Download:
PPI-1.215.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  14
Open  22
View/Report Bugs
Module Version: 1.215   Source   Latest Release: PPI-1.220

NAME ^

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

INHERITANCE ^

  PPI::Token::QuoteLike
  isa PPI::Token
      isa PPI::Element

DESCRIPTION ^

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{} - PPI::Token::QuoteLike::Words
`` - PPI::Token::QuoteLike::Backtick
qx{} - PPI::Token::QuoteLike::Command
qr// - PPI::Token::QuoteLike::Regexp
<FOO> - PPI::Token::QuoteLike::Readline

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.

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.

syntax highlighting: