File Coverage

blib/lib/PPI/Token/Regexp/Transliterate.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package PPI::Token::Regexp::Transliterate;
2              
3             =pod
4              
5             =head1 NAME
6              
7             PPI::Token::Regexp::Transliterate - A transliteration regular expression token
8              
9             =head1 INHERITANCE
10              
11             PPI::Token::Regexp::Transliterate
12             isa PPI::Token::Regexp
13             isa PPI::Token
14             isa PPI::Element
15              
16             =head1 SYNOPSIS
17              
18             $text =~ tr/abc/xyz/;
19              
20             =head1 DESCRIPTION
21              
22             A C object represents a single
23             transliteration regular expression.
24              
25             I'm afraid you'll have to excuse the ridiculously long class name, but
26             when push came to shove I ended up going for pedantically correct
27             names for things (practically cut and paste from the various docs).
28              
29             =head1 METHODS
30              
31             There are no methods available for C
32             beyond those provided by the parent L, L
33             and L classes.
34              
35             =cut
36              
37 64     64   351 use strict;
  64         113  
  64         1429  
38 64     64   276 use PPI::Token::Regexp ();
  64         96  
  64         627  
39 64     64   253 use PPI::Token::_QuoteEngine::Full ();
  64         120  
  64         3039  
40              
41             our $VERSION = '1.275';
42              
43             our @ISA = qw{
44             PPI::Token::_QuoteEngine::Full
45             PPI::Token::Regexp
46             };
47              
48             1;
49              
50             =pod
51              
52             =head1 SUPPORT
53              
54             See the L in the main module.
55              
56             =head1 AUTHOR
57              
58             Adam Kennedy Eadamk@cpan.orgE
59              
60             =head1 COPYRIGHT
61              
62             Copyright 2001 - 2011 Adam Kennedy.
63              
64             This program is free software; you can redistribute
65             it and/or modify it under the same terms as Perl itself.
66              
67             The full text of the license can be found in the
68             LICENSE file included with this module.
69              
70             =cut