POE::Wheel::Null(3)

πŸ“¦
version 0.01 Β· 2 versions
, in fedora 43

πŸ’« 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::Wheel
  • POE

πŸ’€ 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