Data::...Handle(3pm)

πŸ“¦
version 0.11 Β· 5 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble

✨ 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 β€” see Data::Stream::Bulk::DoneFlag for 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. 🫢


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