Add built local::lib
[catagits/Gitalist.git] / local-lib5 / lib / perl5 / PPI / Token / QuoteLike / Readline.pm
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<readline> 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 = <FILE>;
23   
24   # From a scalar handle
25   $line = <$filehandle>;
26   
27   # Read all the lines
28   @lines = <FILE>;
29
30 =head1 METHODS
31
32 There are no methods available for C<PPI::Token::QuoteLike::Readline>
33 beyond those provided by the parent L<PPI::Token::QuoteLike>, L<PPI::Token>
34 and L<PPI::Element> classes.
35
36 Got any ideas for methods? Submit a report to rt.cpan.org!
37
38 =cut
39
40 use strict;
41 use PPI::Token::QuoteLike          ();
42 use PPI::Token::_QuoteEngine::Full ();
43
44 use vars qw{$VERSION @ISA};
45 BEGIN {
46         $VERSION = '1.206';
47         @ISA     = qw{
48                 PPI::Token::_QuoteEngine::Full
49                 PPI::Token::QuoteLike
50         };
51 }
52
53 1;
54
55 =pod
56
57 =head1 SUPPORT
58
59 See the L<support section|PPI/SUPPORT> in the main module.
60
61 =head1 AUTHOR
62
63 Adam Kennedy E<lt>adamk@cpan.orgE<gt>
64
65 =head1 COPYRIGHT
66
67 Copyright 2001 - 2009 Adam Kennedy.
68
69 This program is free software; you can redistribute
70 it and/or modify it under the same terms as Perl itself.
71
72 The full text of the license can be found in the
73 LICENSE file included with this module.
74
75 =cut