1POE::Wheel::Null(3) User Contributed Perl Documentation POE::Wheel::Null(3)
2
3
4
6 POE::Wheel::Null - POE Wheel that does put()s data nowhere, and sends
7 nothing.
8
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
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
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
37 None
38
40 POE::Wheel, POE
41
43 Roughly zero.
44
46 Jonathan Steinert hachi@cpan.org
47
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.28.0 2004-11-25 POE::Wheel::Null(3)