Dancer::RPCPlugin::DataFlatten - Simple routine to flatten (blessed) data
use Dancer::RPCPlugin::DataFlatten; my $data = bless({some => 'data'}, 'AnyClass'); my $flat = flatten_data($data); # {some => 'data'}
This makes a deep-copy of the datastructure presented.
Only the first argument is considered.
A deep copy of the data structure presented.
(c) MMXVII - Abe Timmerman <abeltje@cpan.org>.
To install Dancer::Plugin::RPC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dancer::Plugin::RPC
CPAN shell
perl -MCPAN -e shell install Dancer::Plugin::RPC
For more information on module installation, please visit the detailed CPAN module installation guide.