Message::Passing::Output::IO::Handle - output to an IO handle
my $out = Message::Passing::Output::IO::Handle->new( fh => \*STDOUT, append => "\n", ); # $out will now act like Message::Passing::Output::STDOUT
Output messages to an IO::Handle like handle, i.e. any class which implements a ->print($stuff) method.
->print($stuff)
The file handle object. Required.
String to append to each message. Defaults to "\n"
Consumes a message by printing it, followed by \n
Message::Passing
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>
See Message::Passing.
To install Message::Passing, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Message::Passing
CPAN shell
perl -MCPAN -e shell install Message::Passing
For more information on module installation, please visit the detailed CPAN module installation guide.