-
-
24 Apr 2020 15:41:07 UTC
- Distribution: Data-Object-Role-Dumpable
- Module version: 2.02
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (0)
- Testers (1367 / 0 / 8)
- Kwalitee
Bus factor: 1- 94.06% Coverage
- License: perl_5
- Perl: v5.14.0
- Activity
24 month- Tools
- Download (11.52KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
NAME
Data::Object::Role::Dumpable
ABSTRACT
Dumpable Role for Perl 5
SYNOPSIS
package Example; use Moo; with 'Data::Object::Role::Dumpable'; package main; my $example = Example->new; # $example->dump
DESCRIPTION
This package provides methods for dumping the object and underlying value.
METHODS
This package implements the following methods:
dump
dump() : Str
The dump method returns a string representation of the underlying data.
pretty_dump
pretty_dump() : Str
The pretty_dump method returns a string representation of the underlying data that is human-readable and useful for debugging.
pretty_print
pretty_print(Any @args) : Int
The pretty_print method prints a stringified human-readable representation of the underlying data.
pretty_say
pretty_say(Any @args) : Int
The pretty_say method prints a stringified human-readable representation of the underlying data, with a trailing newline.
print
print(Any @args) : Int
The print method prints a stringified representation of the underlying data.
say
say(Any @args) : Int
The say method prints a stringified representation of the underlying data, with a trailing newline.
AUTHOR
Al Newkirk,
awncorp@cpan.org
LICENSE
Copyright (C) 2011-2019, Al Newkirk, et al.
This is free software; you can redistribute it and/or modify it under the terms of the The Apache License, Version 2.0, as elucidated in the "license file".
PROJECT
Module Install Instructions
To install Data::Object::Role::Dumpable, copy and paste the appropriate command in to your terminal.
cpanm Data::Object::Role::Dumpable
perl -MCPAN -e shell install Data::Object::Role::Dumpable
For more information on module installation, please visit the detailed CPAN module installation guide.