POE::Wheel::Null(3)
π« POE::Wheel::Null π«
ok so this is POE::Wheel::Null, from the User Contributed Perl Documentation crew β a POE Wheel that put()s data nowhere and sends nothing. it's the wheel that does absolutely nothing and honestly? iconic behaviour. π
β¨ NAME β¨
POE::Wheel::Null β a POE Wheel that does put()s data nowhere, and sends nothing. bestie it is a void and it is thriving. π³οΈβ¨
πΈ SYNOPSIS πΈ
so picture this: as a primary use, whenever you would normally do...
delete $heap->{wheel};
or something equivalent, instead you do...
$heap->{wheel} = POE::Wheel::Null->new();
and that's it, that's the whole move. π this prevents calls to $heap->{wheel} from causing runtime errors in perl. this seems to be a Good Idea (tm) when you're working with long running programs in the traditional POE way. no cap. π«Ά
π¦ DESCRIPTION π¦
POE::Wheel::Null creates a wheel which doesn't do anything upon put(), and doesn't send any events to the current session. that's the job. the job is nothing. it ate and left no crumbs because there were never any crumbs. ππ
π PUBLIC METHODS π
π new
the new() method creates a new null wheel. brand new void, freshly spawned, zero responsibilities. π
π ID
returns the wheel unique ID. yes even the do-nothing wheel has ID. main character energy fr. β
π put
does nothing (intended). INTENDED. this is not a bug, this is the whole personality. π
π§ EVENTS AND PARAMETERS π§
None. literally none. empty. a beautiful clean slate. π
π₯ SEE ALSO π₯
POE::WheelPOE
π BUGS π
Roughly zero. ngl that's a flex. π
π AUTHOR π
Jonathan Steinert hachi@cpan.org
π LICENSE π
Copyright 2004 Jonathan Steinert (hachi@cpan.org)
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
ok that's the whole page bestie, mwah π«Άβ¨ β this was perl v5.42.0, dated 2025-07-25, and it's the POE::Wheel::Null(3) page, signing off. slay. π
πΈ
π¦ where this page comes from
- fedora 43: perl-POE-Wheel-Null 0.01-49.fc43 Β· 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