File Coverage

blib/lib/PPI/Token/QuoteLike/Readline.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package PPI::Token::QuoteLike::Readline;
2              
3             =pod
4              
5             =head1 NAME
6              
7             PPI::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              
18             The C quote-like operator is used to read either a single
19             line from a file, or all the lines from a file, as follows.
20              
21             # Read in a single line
22             $line = ;
23            
24             # From a scalar handle
25             $line = <$filehandle>;
26            
27             # Read all the lines
28             @lines = ;
29              
30             =head1 METHODS
31              
32             There are no methods available for C
33             beyond those provided by the parent L, L
34             and L classes.
35              
36             =cut
37              
38 64     64   354 use strict;
  64         114  
  64         1426  
39 64     64   262 use PPI::Token::QuoteLike ();
  64         109  
  64         630  
40 64     64   233 use PPI::Token::_QuoteEngine::Full ();
  64         109  
  64         3068  
41              
42             our $VERSION = '1.275';
43              
44             our @ISA = qw{
45             PPI::Token::_QuoteEngine::Full
46             PPI::Token::QuoteLike
47             };
48              
49             1;
50              
51             =pod
52              
53             =head1 SUPPORT
54              
55             See the L in the main module.
56              
57             =head1 AUTHOR
58              
59             Adam Kennedy Eadamk@cpan.orgE
60              
61             =head1 COPYRIGHT
62              
63             Copyright 2001 - 2011 Adam Kennedy.
64              
65             This program is free software; you can redistribute
66             it and/or modify it under the same terms as Perl itself.
67              
68             The full text of the license can be found in the
69             LICENSE file included with this module.
70              
71             =cut