← 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/QuoteLike/Readline.pm
StatementsExecuted 11 statements in 129µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11111µs11µsPPI::Token::QuoteLike::Readline::::BEGIN@45PPI::Token::QuoteLike::Readline::BEGIN@45
11111µs22µsPPI::Token::QuoteLike::Readline::::BEGIN@40PPI::Token::QuoteLike::Readline::BEGIN@40
1116µs33µsPPI::Token::QuoteLike::Readline::::BEGIN@44PPI::Token::QuoteLike::Readline::BEGIN@44
1113µs3µsPPI::Token::QuoteLike::Readline::::BEGIN@41PPI::Token::QuoteLike::Readline::BEGIN@41
1113µs3µsPPI::Token::QuoteLike::Readline::::BEGIN@42PPI::Token::QuoteLike::Readline::BEGIN@42
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::QuoteLike::Readline;
2
3=pod
4
5=head1 NAME
6
7PPI::Token::QuoteLike::Readline - The readline quote-like operator
8
9=head1 INHERITANCE
10
11 PPI::Token::QuoteLike::Readline
12 isa PPI::Token::QuoteLike
13 isa PPI::Token
14 isa PPI::Element
15
16=head1 DESCRIPTION
17
18The C<readline> quote-like operator is used to read either a single
19line from a file, or all the lines from a file, as follows.
20
21 # Read in a single line
22 $line = <FILE>;
23
24 # From a scalar handle
25 $line = <$filehandle>;
26
27 # Read all the lines
28 @lines = <FILE>;
29
30=head1 METHODS
31
32There are no methods available for C<PPI::Token::QuoteLike::Readline>
33beyond those provided by the parent L<PPI::Token::QuoteLike>, L<PPI::Token>
34and L<PPI::Element> classes.
35
36Got any ideas for methods? Submit a report to rt.cpan.org!
37
38=cut
39
40218µs234µs
# spent 22µs (11+11) within PPI::Token::QuoteLike::Readline::BEGIN@40 which was called: # once (11µs+11µs) by PPI::Token::BEGIN@62 at line 40
use strict;
# spent 22µs making 1 call to PPI::Token::QuoteLike::Readline::BEGIN@40 # spent 11µs making 1 call to strict::import
41215µs13µs
# spent 3µs within PPI::Token::QuoteLike::Readline::BEGIN@41 which was called: # once (3µs+0s) by PPI::Token::BEGIN@62 at line 41
use PPI::Token::QuoteLike ();
# spent 3µs making 1 call to PPI::Token::QuoteLike::Readline::BEGIN@41
42218µs13µs
# spent 3µs within PPI::Token::QuoteLike::Readline::BEGIN@42 which was called: # once (3µs+0s) by PPI::Token::BEGIN@62 at line 42
use PPI::Token::_QuoteEngine::Full ();
# spent 3µs making 1 call to PPI::Token::QuoteLike::Readline::BEGIN@42
43
44231µs260µs
# spent 33µs (6+27) within PPI::Token::QuoteLike::Readline::BEGIN@44 which was called: # once (6µs+27µs) by PPI::Token::BEGIN@62 at line 44
use vars qw{$VERSION @ISA};
# spent 33µs making 1 call to PPI::Token::QuoteLike::Readline::BEGIN@44 # spent 27µs making 1 call to vars::import
45
# spent 11µs within PPI::Token::QuoteLike::Readline::BEGIN@45 which was called: # once (11µs+0s) by PPI::Token::BEGIN@62 at line 51
BEGIN {
461300ns $VERSION = '1.215';
47114µs @ISA = qw{
48 PPI::Token::_QuoteEngine::Full
49 PPI::Token::QuoteLike
50 };
51132µs111µs}
# spent 11µs making 1 call to PPI::Token::QuoteLike::Readline::BEGIN@45
52
5312µs1;
54
55=pod
56
57=head1 SUPPORT
58
59See the L<support section|PPI/SUPPORT> in the main module.
60
61=head1 AUTHOR
62
63Adam Kennedy E<lt>adamk@cpan.orgE<gt>
64
65=head1 COPYRIGHT
66
67Copyright 2001 - 2011 Adam Kennedy.
68
69This program is free software; you can redistribute
70it and/or modify it under the same terms as Perl itself.
71
72The full text of the license can be found in the
73LICENSE file included with this module.
74
75=cut