1Child::Link::IPC(3) User Contributed Perl Documentation Child::Link::IPC(3)
2
3
4
6 Child::Link::IPC - Base class for process links that provide IPC.
7
9 This class inherits from:
10
11 Child::Link
12
14 $proc->new( $pid. @shared )
15 Constructor
16
17 $proc->read()
18 Read a message from the child.
19
20 $proc->write( @MESSAGES )
21 Send the messages to the child. works like print, you must add
22 "\n".
23
24 $proc->say( @MESSAGES )
25 Send the messages to the child. works like say, adds the separator
26 for you (usually "\n").
27
28 $proc->autoflush( $BOOL )
29 Turn autoflush on/off for the current processes write handle. This
30 is on by default.
31
32 $proc->flush()
33 Flush the current processes write handle.
34
35 $proc->ipc()
36 $proc->_ipc( $new )
37 Accessors for you to use or ignore.
38
40 $proc->read_handle()
41 Should return a read handle for reading from the child.
42
43 $proc->write_handle()
44 Should return a write handle for writing to the child.
45
46 $proc->init( @shared )
47 Called by new during construction
48
50 Most of this was part of Parallel::Runner intended for use in the
51 Fennec project. Fennec is being broken into multiple parts, this is one
52 such part.
53
55 This module is part of the Fennec project. See Fennec for more details.
56 Fennec is a project to develop an extendable and powerful testing
57 framework. Together the tools that make up the Fennec framework
58 provide a potent testing environment.
59
60 The tools provided by Fennec are also useful on their own. Sometimes a
61 tool created for Fennec is useful outside the greater framework. Such
62 tools are turned into their own projects. This is one such project.
63
64 Fennec - The core framework
65 The primary Fennec project that ties them all together.
66
68 Chad Granum exodist7@gmail.com
69
71 Copyright (C) 2010 Chad Granum
72
73 Child is free software; Standard perl licence.
74
75 Child is distributed in the hope that it will be useful, but WITHOUT
76 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
77 FITNESS FOR A PARTICULAR PURPOSE. See the license for more details.
78
79
80
81perl v5.28.1 2016-06-22 Child::Link::IPC(3)