PPI/Token/Regexp/Transliterate.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« PPI/Token/Regexp/Substitute.pm ↑ Summary PPI/Token/Separator.pm »
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<PPI::Token::Regexp::Transliterate> 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<PPI::Token::Regexp::Transliterate>
32 beyond those provided by the parent L<PPI::Token::Regexp>, L<PPI::Token>
33 and L<PPI::Element> classes.
34  
35 =cut
36  
37 63 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
38 63 ▶use PPI::Token::Regexp ();
Subroutine BEGIN: called CC=1 SCAR=0.0
39 63 ▶use PPI::Token::_QuoteEngine::Full ();
Subroutine BEGIN: called CC=1 SCAR=0.0
40  
41 63 our $VERSION = '1.260'; # VERSION
42  
43 63 our @ISA = qw{
44 PPI::Token::_QuoteEngine::Full
45 PPI::Token::Regexp
46 };
47  
48 63 1;
49  
50 =pod
51  
52 =head1 SUPPORT
53  
54 See the L<support section|PPI/SUPPORT> in the main module.
55  
56 =head1 AUTHOR
57  
58 Adam Kennedy E<lt>adamk@cpan.orgE<gt>
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
« PPI/Token/Regexp/Substitute.pm ↑ Summary PPI/Token/Separator.pm »