|
NAMEVenus::Role::Dumpable - Dumpable Role ABSTRACTDumpable Role for Perl 5 SYNOPSISpackage Example; use Venus::Class; attr 'test'; with 'Venus::Role::Dumpable'; package main; my $example = Example->new(test => 123); # $example->dump; DESCRIPTIONThis package modifies the consuming package and provides methods for dumping the object or the return value of a dispatched method call. METHODSThis package provides the following methods: dumpdump(string | coderef $method, any @args) (string) The dump method returns a string representation of the underlying data. This method supports dispatching, i.e. providing a method name and arguments whose return value will be acted on by this method. Since 0.01
dump_prettydump_pretty(string | coderef $method, any @args) (string) The dump_pretty method returns a string representation of the underlying data that is human-readable and useful for debugging. This method supports dispatching, i.e. providing a method name and arguments whose return value will be acted on by this method. Since 0.01
AUTHORSAwncorp, "awncorp@cpan.org" LICENSECopyright (C) 2022, Awncorp, "awncorp@cpan.org". This program is free software, you can redistribute it and/or modify it under the terms of the Apache license version 2.0.
|