Message::Passing::Output::IO::Handle(3pm)

Message::Passing::Output::IO::Handle3pm

Output to an io handle

Usage

    my $out = Message::Passing::Output::IO::Handle->new(
        fh => \*STDOUT,
        append => "\n",
    );
    # $out will now act like Message::Passing::Output::STDOUT

Overview

Output messages to an IO::Handle like handle, i.e. any class which implements a "->print($stuff)" method.

Attributes

fh

The file handle object. Required.

append

String to append to each message. Defaults to "\n"

Methods

consume

Consumes a message by printing it, followed by \n

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>

Releases

6 releases since Debian 8 (Jessie); the text changed 3 times.

  1. 8
  2. 9
  3. 10–11
  4. 12–13

From libmessage-passing-perl 0.117-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.