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 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