NAME
Data::Object::Role::Output - Output Object Role for Perl 5
VERSION
version 0.61
SYNOPSIS
use Data::Object::Class;
with 'Data::Object::Role::Output';
DESCRIPTION
Data::Object::Role::Output provides routines for operating on Perl 5 data objects which meet the criteria for being output.
METHODS
# given $output
$output->print;
The print method outputs the value represented by the object to STDOUT and returns true. This method returns a number value.
say
# given $output
$output->say;
The say method outputs the value represented by the object appended with a newline to STDOUT and returns true. This method returns a Data::Object::Number object.
ROLES
This package is comprised of the following roles.
SEE ALSO
AUTHOR
Al Newkirk <al@iamalnewkirk.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2018 by Al Newkirk.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.