1PPI::Token::QuoteLike::URseeardlCionnet(r3i)buted Perl DPoPcIu:m:eTnotkaetni:o:nQuoteLike::Readline(3)
2
3
4
6 PPI::Token::QuoteLike::Readline - The readline quote-like operator
7
9 PPI::Token::QuoteLike::Readline
10 isa PPI::Token::QuoteLike
11 isa PPI::Token
12 isa PPI::Element
13
15 The "readline" quote-like operator is used to read either a single line
16 from a file, or all the lines from a file, as follows.
17
18 # Read in a single line
19 $line = <FILE>;
20
21 # From a scalar handle
22 $line = <$filehandle>;
23
24 # Read all the lines
25 @lines = <FILE>;
26
28 There are no methods available for "PPI::Token::QuoteLike::Readline"
29 beyond those provided by the parent PPI::Token::QuoteLike, PPI::Token
30 and PPI::Element classes.
31
33 See the support section in the main module.
34
36 Adam Kennedy <adamk@cpan.org>
37
39 Copyright 2001 - 2011 Adam Kennedy.
40
41 This program is free software; you can redistribute it and/or modify it
42 under the same terms as Perl itself.
43
44 The full text of the license can be found in the LICENSE file included
45 with this module.
46
47
48
49perl v5.36.0 2023-01-20PPI::Token::QuoteLike::Readline(3)