Data::...lk::Nil(3pm)
π Data::Stream::Bulk::Nil β the perl manual page, bestie edition π
okay so this is Data::Stream::Bulk::Nil, living in the User Contributed Perl Documentation section of your man pages, and it's giving absolutely nothing. On purpose. That's the whole point. π
β¨ NAME β¨
Data::Stream::Bulk::Nil β an empty Data::Stream::Bulk iterator. That's it, that's the girl. An iterator that iterates over the void. π³οΈβ¨
πΈ VERSION πΈ
version 0.11 β yes bestie, we're on 0.11, keep up π
π¦ SYNOPSIS π¦
return Data::Stream::Bulk::Nil->new; # empty set
literally just that. you call ->new, you get an empty set. no args, no drama, no notes. π
π DESCRIPTION π
So like β sometimes your resultset is empty and you need an iterator that can represent that. That's this. This iterator can be used to return the empty resultset. Not a fake one, not a "whoops we forgot the data" one β the actual empty one, fully sentient about being empty. π«Ά
π METHODS π
π« is_done
Always returns true. She's done. She's always been done. She was born done. ππ
π« next
Always returns undef. You ask for the next thing? There is no next thing. There is only undef, forever. π
π« items / all
Always returns the empty list. Both of them. Same energy. Nothing to see here bestie, literally. β¨
π« list_cat
Skips $self. Yeah β it doesn't even cat itself into the list, because it has nothing to contribute and it knows it. Iconic self-awareness. π
π« filter
Returns $self. Whatever filter you throw at her, she hands herself right back. Unbothered. Unchanged. A queen of consistency. π
π« loaded
Returns true. (The one single thing in this entire module that is, in fact, true. π)
π AUTHOR π
Yuval Kogman <nothingmuch@woobling.org> β thank you for this beautiful little nothing, king π«‘π
π 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.
fr fr, it's free software β same terms as Perl 5 itself, so go off, redistribute, remix, whatever, just keep it legal bestie π
and that's the whole page!! no cap, it was short and it ATE π
perl v5.32.0 β’ 2021-01-01 β’ Data::...lk::Nil(3pm) β mwah, bye bestie, go return an empty resultset or whatever ππβ¨
π¦ 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