← Index
NYTProf Performance Profile   « line view »
For /Users/timbo/perl5/perlbrew/perls/perl-5.18.2/bin/perlcritic
  Run on Sat Mar 19 22:12:22 2016
Reported on Sat Mar 19 22:14:10 2016

Filename/Users/timbo/perl5/perlbrew/perls/perl-5.18.2/lib/site_perl/5.18.2/PPI/Token/Regexp/Match.pm
StatementsExecuted 11 statements in 180µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
111213µs279µsPPI::Token::Regexp::Match::::BEGIN@46PPI::Token::Regexp::Match::BEGIN@46
11113µs25µsPPI::Token::Regexp::Match::::BEGIN@45PPI::Token::Regexp::Match::BEGIN@45
1119µs9µsPPI::Token::Regexp::Match::::BEGIN@50PPI::Token::Regexp::Match::BEGIN@50
1116µs32µsPPI::Token::Regexp::Match::::BEGIN@49PPI::Token::Regexp::Match::BEGIN@49
1113µs3µsPPI::Token::Regexp::Match::::BEGIN@47PPI::Token::Regexp::Match::BEGIN@47
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package PPI::Token::Regexp::Match;
2
3=pod
4
5=head1 NAME
6
7PPI::Token::Regexp::Match - A standard pattern match regex
8
9=head1 INHERITANCE
10
11 PPI::Token::Regexp::Match
12 isa PPI::Token::Regexp
13 isa PPI::Token
14 isa PPI::Element
15
16=head1 SYNOPSIS
17
18 $text =~ m/match regexp/;
19 $text =~ /match regexp/;
20
21=head1 DESCRIPTION
22
23A C<PPI::Token::Regexp::Match> object represents a single match regular
24expression. Just to be doubly clear, here are things that are and
25B<aren't> considered a match regexp.
26
27 # Is a match regexp
28 /This is a match regexp/;
29 m/Old McDonald had a farm/eieio;
30
31 # These are NOT match regexp
32 qr/This is a regexp quote-like operator/;
33 s/This is a/replace regexp/;
34
35=head1 METHODS
36
37There are no methods available for C<PPI::Token::Regexp::Match> beyond
38those provided by the parent L<PPI::Token::Regexp>, L<PPI::Token> and
39L<PPI::Element> classes.
40
41Got any ideas for methods? Submit a report to rt.cpan.org!
42
43=cut
44
45218µs236µs
# spent 25µs (13+11) within PPI::Token::Regexp::Match::BEGIN@45 which was called: # once (13µs+11µs) by PPI::Token::BEGIN@63 at line 45
use strict;
# spent 25µs making 1 call to PPI::Token::Regexp::Match::BEGIN@45 # spent 11µs making 1 call to strict::import
46284µs1279µs
# spent 279µs (213+65) within PPI::Token::Regexp::Match::BEGIN@46 which was called: # once (213µs+65µs) by PPI::Token::BEGIN@63 at line 46
use PPI::Token::Regexp ();
# spent 279µs making 1 call to PPI::Token::Regexp::Match::BEGIN@46
47218µs13µs
# spent 3µs within PPI::Token::Regexp::Match::BEGIN@47 which was called: # once (3µs+0s) by PPI::Token::BEGIN@63 at line 47
use PPI::Token::_QuoteEngine::Full ();
# spent 3µs making 1 call to PPI::Token::Regexp::Match::BEGIN@47
48
49228µs259µs
# spent 32µs (6+27) within PPI::Token::Regexp::Match::BEGIN@49 which was called: # once (6µs+27µs) by PPI::Token::BEGIN@63 at line 49
use vars qw{$VERSION @ISA};
# spent 32µs making 1 call to PPI::Token::Regexp::Match::BEGIN@49 # spent 27µs making 1 call to vars::import
50
# spent 9µs within PPI::Token::Regexp::Match::BEGIN@50 which was called: # once (9µs+0s) by PPI::Token::BEGIN@63 at line 56
BEGIN {
511300ns $VERSION = '1.215';
52110µs @ISA = qw{
53 PPI::Token::_QuoteEngine::Full
54 PPI::Token::Regexp
55 };
56120µs19µs}
# spent 9µs making 1 call to PPI::Token::Regexp::Match::BEGIN@50
57
5812µs1;
59
60=pod
61
62=head1 SUPPORT
63
64See the L<support section|PPI/SUPPORT> in the main module.
65
66=head1 AUTHOR
67
68Adam Kennedy E<lt>adamk@cpan.orgE<gt>
69
70=head1 COPYRIGHT
71
72Copyright 2001 - 2011 Adam Kennedy.
73
74This program is free software; you can redistribute
75it and/or modify it under the same terms as Perl itself.
76
77The full text of the license can be found in the
78LICENSE file included with this module.
79
80=cut