1POE::Wheel::Null(3)   User Contributed Perl Documentation  POE::Wheel::Null(3)
2
3
4

NAME

6       POE::Wheel::Null - POE Wheel that does put()s data nowhere, and sends
7       nothing.
8

SYNOPSIS

10       As a primary use whenever you would normally...
11
12        delete $heap->{wheel};
13
14       or something equivalent, instead do...
15
16        $heap->{wheel} = POE::Wheel::Null->new();
17
18       to prevent calls to $heap->{wheel} from causing runtime errors in perl.
19       This seems to be a Good Idea (tm) when working with long running
20       programs in the traditional POE way.
21

DESCRIPTION

23       POE::Wheel::Null creates a wheel which doesn't do anything upon put(),
24       and doesn't send any events to the current session.
25

PUBLIC METHODS

27       new
28         The new() method creates a new null wheel.
29
30       ID
31         Returns the wheel unique ID
32
33       put
34         Does nothing (intended)
35

EVENTS AND PARAMETERS

37       None
38

SEE ALSO

40       POE::Wheel, POE
41

BUGS

43       Roughly zero.
44

AUTHOR

46       Jonathan Steinert hachi@cpan.org
47

LICENSE

49       Copyright 2004 Jonathan Steinert (hachi@cpan.org)
50
51       This program is free software; you can redistribute it and/or modify it
52       under the same terms as Perl itself.
53
54
55
56perl v5.36.0                      2023-01-20               POE::Wheel::Null(3)
Impressum