Message::Passing::Output::IO::Handle - output to an IO handle
Contents
Attributes
fh
The file handle object. Required.
append
String to append to each message. Defaults to "\n"
Description
Output messages to an IO::Handle like handle, i.e. any class which implements a "->print($stuff)" method.
Methods
consume
Consumes a message by printing it, followed by \n
Name
Message::Passing::Output::IO::Handle - output to an IO handle
See Also
Message::Passing
Sponsorship
This module exists due to the wonderful people at Suretec Systems Ltd. <http://www.suretecsystems.com/>
who sponsored its development for its VoIP division called SureVoIP <http://www.surevoip.co.uk/> for use
with the SureVoIP API - <http://www.surevoip.co.uk/support/wiki/api_documentation>
Synopsis
my $out = Message::Passing::Output::IO::Handle->new(
fh => \*STDOUT,
append => "\n",
);
# $out will now act like Message::Passing::Output::STDOUT
