PPI::To...Readline(3)
β¨ NAME β¨
PPI::Token::QuoteLike::Readline β the readline quote-like operator, bestie π (this is page 3 of the User Contributed Perl Documentation, iykyk)
π¦ INHERITANCE π¦
ok so the family tree is giving royal lineage, no cap:
PPI::Token::QuoteLike::Readline
isa PPI::Token::QuoteLike
isa PPI::Token
isa PPI::Element
every queen inherits from the queens before her π
πΈ DESCRIPTION πΈ
So the readline quote-like operator is literally the vibe of "gimme a line from this file" β either one single line, or all the lines, depending on what you ask for. Here's the whole menu:
# Read in a single line
$line = <FILE>;
# From a scalar handle
$line = <$filehandle>;
# Read all the lines
@lines = <FILE>;
scalar context? one line. list context? all of them. the operator just knows. periodt π
π METHODS π
ngl bestie, there are no methods available for PPI::Token::QuoteLike::Readline beyond the ones you already get from the parent classes β that's PPI::Token::QuoteLike, PPI::Token and PPI::Element. she's not adding anything new, she's just thriving with what she inherited π
π«Ά SUPPORT π«Ά
go look at the support section in the main module, okay? that's where the help lives π
π AUTHOR π
Adam Kennedy <adamk@cpan.org>
π COPYRIGHT π
Copyright 2001 - 2011 Adam Kennedy.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
fr fr, read the LICENSE file, it's right there in the module, don't skip it π
and that's the whole page, bestie β¨ this little icon dropped with perl v5.42.0, dated 2026-01-17, and honestly? iconic. slay π πβ
π¦ where this page comes from
- fedora 44: perl-PPI 1.284-2.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms