Query: tangram::type::dump::yaml
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Tangram::Type::Dump::YAML(3pm) User Contributed Perl Documentation Tangram::Type::Dump::YAML(3pm)NAMETangram::Type::Dump::YAML - serialise fields of an object via YAML to a columnSYNOPSISuse Tangram::Core; use Tangram::Type::Dump::YAML; $schema = Tangram::Schema->new( classes => { NaturalPerson => { fields => { yaml => { diary => # diary is a perl hash { col => 'diarydata', sql => 'TEXT', # better be large enough! :) # YAML dumper control, values here are defaults options => { Indent => 2, UseHeader => 1, UseVersion => 1, SortKeys => 1, UseCode => 0, # ... etc, see the YAML man page for more }, } }}});DESCRIPTIONTangram::Type::Dump::YAML is very much like Tangram::Type::Dump::Perl, only serialisation is achieved via YAML and not Data::Dumper. This is currently untested, but is known to have bugs, largely to do with the fact that YAML can't serialise blessed references (see <http://rt.cpan.org/NoAuth/Bug.html?id=4784>). perl v5.8.8 2006-03-29 Tangram::Type::Dump::YAML(3pm)
Related Man Pages |
---|
tangram::type::scalar(3pm) - debian |
tangram::driver::pg(3pm) - debian |
tangram::intro(3pm) - debian |
tangram::type(3pm) - debian |
tangram::type::dump::storable(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
awk or sed - Convert 2 lines to 1 line |
One instance of comparing grep and awk |
A (ksh) Library For and From UNIX.com |
New UNIX and Linux History Sections |