[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#476934: ITP: libio-tee-perl - Multiplex output to multiple output handles



Package: wnpp
Severity: wishlist
Owner: AGOSTINI Yves <agostini@univ-metz.fr>


* Package name : libio-tee-perl
Version : 0.64
Upstream Author : Chung-chieh Shan <ken@digitas.harvard.edu>
* URL : http://search.cpan.org/dist/IO::Tee/
* License : Perl
Programming Lang: Perl
Description : Multiplex output to multiple output handles
 IO::Tee objects can be used to multiplex input and output in two
 different ways.  The first way is to multiplex output to zero or more
 output handles.  The IO::Tee constructor, given a list of output
 handles, returns a tied handle that can be written to.  When written
 to (using print or printf), the IO::Tee object multiplexes the
 output to the list of handles originally passed to the constructor.
 As a shortcut, you can also directly pass a string or an array
 reference to the constructor, in which case IO::File::new is called
 for you with the specified argument or arguments.
 .
 The second way is to multiplex input from one input handle to zero or
 more output handles as it is being read.  The IO::Tee constructor,
 given an input handle followed by a list of output handles, returns a
 tied handle that can be read from as well as written to.  When written
 to, the IO::Tee object multiplexes the output to all handles passed
 to the constructor, as described in the previous paragraph.  When read
 from, the IO::Tee object reads from the input handle given as the
 first argument to the IO::Tee constructor, then writes any data
 read to the output handles given as the remaining arguments to the
 constructor.


-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-5-xen-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



Reply to: