|
NAMEVenus::Dump - Dump Class ABSTRACTDump Class for Perl 5 SYNOPSIS package main;
use Venus::Dump;
my $dump = Venus::Dump->new(
value => { name => ['Ready', 'Robot'], version => 0.12, stable => !!1, }
);
# $dump->encode;
DESCRIPTIONThis package provides methods for reading and writing dumped (i.e. stringified) Perl data. ATTRIBUTESThis package has the following attributes: decoderdecoder(CodeRef) This attribute is read-write, accepts "(CodeRef)" values, and is optional. encoderencoder(CodeRef) This attribute is read-write, accepts "(CodeRef)" values, and is optional. INHERITSThis package inherits behaviors from: Venus::Kind::Utility INTEGRATESThis package integrates behaviors from: Venus::Role::Accessible Venus::Role::Buildable Venus::Role::Explainable Venus::Role::Valuable METHODSThis package provides the following methods: decodedecode(string $text) (any) The decode method decodes the Perl string, sets the object value, and returns the decoded value. Since 0.01
encodeencode() (string) The encode method encodes the objects value as a Perl string and returns the encoded string. 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.
|