Data::ClearSilver::HDF - Convert from Perl Data Structure to ClearSilver HDF
version 0.01
use Data::ClearSilver::HDF; my $data = { foo => { bar => 1, baz => [0 .. 5] }, obj => bless { foo => "xxx", bar => "yyy" } }; my $hdf = Data::ClearSilver::HDF->hdf($data); print $hdf->getValue("obj.foo", undef); # xxx
The argument $data must be reference. In the data, all of value excluded ARRAY, HASH, blessed reference will be ignored. Blessed reference will be unblessed by Data::Structure::Util's unbless functon.
Toru Yamaguchi, <zigorou@cpan.org>
<zigorou@cpan.org>
Please report any bugs or feature requests to bug-data-clearsilver-hdf@rt.cpan.org, or through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-data-clearsilver-hdf@rt.cpan.org
Copyright 2007 Toru Yamaguchi, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Data::ClearSilver::HDF, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::ClearSilver::HDF
CPAN shell
perl -MCPAN -e shell install Data::ClearSilver::HDF
For more information on module installation, please visit the detailed CPAN module installation guide.