DOKK / manpages / debian 12 / libmessage-passing-perl / Message::Passing::Output::IO::Handle.3pm.en
Message::Passing::Output::IO::Handle(3pm) User Contributed Perl Documentation Message::Passing::Output::IO::Handle(3pm)

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.

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.

2021-11-09 perl v5.32.1