Data::...Handle(3pm)
β¨ Data::...Handle(3pm) β¨
okay so bestie, welcome to the User Contributed Perl Documentation π this is the manual page for Data::...Handle(3pm) β yes the title is literally abbreviated like that, it's giving mysterious, it's giving "the rest of the name is in the NAME section, keep scrolling". π«Ά
π NAME π
Data::Stream::Bulk::FileHandle β read lines from a filehandle. that's it. that's the whole job. iconic. π
πΈ VERSION πΈ
version 0.11 β¨
π¦ SYNOPSIS π¦
okay so here's the vibe, look at this:
use Data::Stream::Bulk::FileHandle;
use Path::Class;
my $s = Data::Stream::Bulk::FileHandle->new(
filehandle => file('foo.txt')->openr,
);
you open a file, you hand the filehandle to new, and boom π₯ you got a stream. slay.
π DESCRIPTION π
so basically this module gives you a stream API for reading lines from a file. that's the tea. instead of grabbing all the lines at once like a menace, you get them through a stream. no cap. π
π ATTRIBUTES π
filehandleβ a file handle that has been opened for reading. the stream will return lines from this file, one by one, one at a time, single file, no skipping, no duplicates. it's literally just handing you the next line like a bestie passing you snacks one at a time. π
β METHODS β
get_moreβ seeData::Stream::Bulk::DoneFlagfor the full deets. what does it do tho? it returns the next line from the file, if it exists. if it doesn't existβ¦ well, it doesn't return it, iykyk. π§
π AUTHOR π
Yuval Kogman <nothingmuch@woobling.org> β shoutout to the legend. π«Ά
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2012 by Yuval Kogman.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. periodt. π
lowkey the most important part: those license terms are real and they mean it β same terms as Perl 5 itself, fr fr. don't be weird about it. π
okay bestie that's the whole page, go read some lines π
this was perl v5.32.0, dated 2021-01-01, from the Data::...Handle(3pm) manual β mwah, bye!! π¦β¨
π¦ where this page comes from
- debian bookworm: libdata-stream-bulk-perl 0.11-1.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libdata-stream-bulk-perl 0.11-1.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libdata-stream-bulk-perl 0.11-1.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libdata-stream-bulk-perl 0.11-1.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms