PPI/Token/Regexp/Transliterate.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 20 / 20 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 62 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
38 62 ▶use PPI::Token::Regexp ();
Subroutine BEGIN: called CC=1 SCAR=0.0
39 62 ▶use PPI::Token::_QuoteEngine::Full ();
Subroutine BEGIN: called CC=1 SCAR=0.0
40  
41 62 ▶use vars qw{$VERSION @ISA};
Subroutine BEGIN: called CC=1 SCAR=0.0
42 BEGIN {
43 62 ▶ $VERSION = '1.236';
Subroutine BEGIN: called CC=1 SCAR=0.0
44 62 @ISA = qw{
45 PPI::Token::_QuoteEngine::Full
46 PPI::Token::Regexp
47 };
48 }
49  
50 62 1;
51  
52 =pod
53  
54 =head1 SUPPORT
55  
56 See the L<support section|PPI/SUPPORT> in the main module.
57  
58 =head1 AUTHOR
59  
60 Adam Kennedy E<lt>adamk@cpan.orgE<gt>
61  
62 =head1 COPYRIGHT
63  
64 Copyright 2001 - 2011 Adam Kennedy.
65  
66 This program is free software; you can redistribute
67 it and/or modify it under the same terms as Perl itself.
68  
69 The full text of the license can be found in the
70 LICENSE file included with this module.
71  
72 =cut
« PPI/Token/Regexp/Substitute.pm ↑ Summary PPI/Token/Separator.pm »