The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.


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{} - 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.


See the support section in the main module.


Adam Kennedy <>


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.