GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  DATA::CLEARSILVER::HDF (3)

.ds Aq ’

NAME

Data::ClearSilver::HDF - Convert from Perl Data Structure to ClearSilver HDF

CONTENTS

VERSION

version 0.04

SYNOPSIS



  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



PROPERTIES

CW$USE_SORT

Sorting each keys hieralcally. default false;

METHODS

    hdf($data)

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.

    hdf_dump($hdf)

Dump as string from ClearSilver::HDF object. This method will create temporary file.

hdf_scalar($hdf, CW$keys, CW$data)

Translate scalar data to hdf. Please don’t call directory.

hdf_array($hdf, CW$keys, CW$data)

Translate array reference data to hdf. Please don’t call directory.

hdf_hash($hdf, CW$keys, CW$data)

Translate hash reference data to hdf. Please don’t call directory.

SEE ALSO

http://www.clearsilver.net/ This module requires ClearSilver and ClearSilver’s perl binding.
http://www.clearsilver.net/docs/perl/ ClearSilver perl binding documentation.
Data::Structure::Util
File::Slurp
File::Temp

AUTHOR

Toru Yamaguchi, <zigorou@cpan.org>

BUGS

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.

COPYRIGHT & LICENSE

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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 DATA::CLEARSILVER::HDF (3) 2008-04-20

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.