Filename | /Users/timbo/perl5/perlbrew/perls/perl-5.18.2/lib/site_perl/5.18.2/PPI/Token/Regexp/Transliterate.pm |
Statements | Executed 11 statements in 112µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 11µs | 23µs | BEGIN@39 | PPI::Token::Regexp::Transliterate::
1 | 1 | 1 | 10µs | 10µs | BEGIN@44 | PPI::Token::Regexp::Transliterate::
1 | 1 | 1 | 9µs | 36µs | BEGIN@43 | PPI::Token::Regexp::Transliterate::
1 | 1 | 1 | 6µs | 6µs | BEGIN@41 | PPI::Token::Regexp::Transliterate::
1 | 1 | 1 | 3µs | 3µs | BEGIN@40 | PPI::Token::Regexp::Transliterate::
Line | State ments |
Time on line |
Calls | Time in subs |
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<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 | Got any ideas for methods? Submit a report to rt.cpan.org! | ||||
36 | |||||
37 | =cut | ||||
38 | |||||
39 | 2 | 18µs | 2 | 34µs | # spent 23µs (11+12) within PPI::Token::Regexp::Transliterate::BEGIN@39 which was called:
# once (11µs+12µs) by PPI::Token::BEGIN@65 at line 39 # spent 23µs making 1 call to PPI::Token::Regexp::Transliterate::BEGIN@39
# spent 12µs making 1 call to strict::import |
40 | 2 | 17µs | 1 | 3µs | # spent 3µs within PPI::Token::Regexp::Transliterate::BEGIN@40 which was called:
# once (3µs+0s) by PPI::Token::BEGIN@65 at line 40 # spent 3µs making 1 call to PPI::Token::Regexp::Transliterate::BEGIN@40 |
41 | 2 | 18µs | 1 | 6µs | # spent 6µs within PPI::Token::Regexp::Transliterate::BEGIN@41 which was called:
# once (6µs+0s) by PPI::Token::BEGIN@65 at line 41 # spent 6µs making 1 call to PPI::Token::Regexp::Transliterate::BEGIN@41 |
42 | |||||
43 | 2 | 29µs | 2 | 63µs | # spent 36µs (9+27) within PPI::Token::Regexp::Transliterate::BEGIN@43 which was called:
# once (9µs+27µs) by PPI::Token::BEGIN@65 at line 43 # spent 36µs making 1 call to PPI::Token::Regexp::Transliterate::BEGIN@43
# spent 27µs making 1 call to vars::import |
44 | # spent 10µs within PPI::Token::Regexp::Transliterate::BEGIN@44 which was called:
# once (10µs+0s) by PPI::Token::BEGIN@65 at line 50 | ||||
45 | 1 | 300ns | $VERSION = '1.215'; | ||
46 | 1 | 10µs | @ISA = qw{ | ||
47 | PPI::Token::_QuoteEngine::Full | ||||
48 | PPI::Token::Regexp | ||||
49 | }; | ||||
50 | 1 | 18µs | 1 | 10µs | } # spent 10µs making 1 call to PPI::Token::Regexp::Transliterate::BEGIN@44 |
51 | |||||
52 | 1 | 2µs | 1; | ||
53 | |||||
54 | =pod | ||||
55 | |||||
56 | =head1 SUPPORT | ||||
57 | |||||
58 | See the L<support section|PPI/SUPPORT> in the main module. | ||||
59 | |||||
60 | =head1 AUTHOR | ||||
61 | |||||
62 | Adam Kennedy E<lt>adamk@cpan.orgE<gt> | ||||
63 | |||||
64 | =head1 COPYRIGHT | ||||
65 | |||||
66 | Copyright 2001 - 2011 Adam Kennedy. | ||||
67 | |||||
68 | This program is free software; you can redistribute | ||||
69 | it and/or modify it under the same terms as Perl itself. | ||||
70 | |||||
71 | The full text of the license can be found in the | ||||
72 | LICENSE file included with this module. | ||||
73 | |||||
74 | =cut |