™.. YAML::Syck - Online Linux Manual PageSection : 3
Updated : 2009-04-25
Source : perl v5.10.1
Note : User Contributed Perl Documentation

NAMEYAML::Syck − Fast, lightweight YAML loader and dumper

VERSIONThis document describes version 1.07 of YAML::Syck, released April 25, 2009.

SYNOPSIS​ use YAML::Syck; ​ ​ # Set this for interoperability with other YAML/Syck bindings: ​ # e.g. Load('Yes') becomes 1 and Load('No') becomes ''. ​ $YAML::Syck::ImplicitTyping = 1; ​ ​ $data = Load($yaml); ​ $yaml = Dump($data); ​ ​ # $file can be an IO object, or a filename ​ $data = LoadFile($file); ​ DumpFile($file, $data); ​ ​ # A string with multiple YAML streams in it ​ $yaml = Dump(@data); ​ @data = Load($yaml);

DESCRIPTIONThis module provides a Perl interface to the libsyck data serialization library. It exports the \*(C`Dump\*(C'\fR and \f(CW\*(C`Load\*(C'\fR functions for converting Perl data structures to YAML strings, and the other way around. NOTE: If you are working with other language's YAML/Syck bindings (such as Ruby), please set $YAML::Syck::ImplicitTyping to 1 before calling the \*(C`Load\*(C'\fR/\f(CW\*(C`Dump\*(C'\fR functions. The default setting is for preserving backward-compatibility with \*(C`YAML.pm\*(C'\fR.

FLAGS

$YAML::Syck::HeadlessDefaults to false. Setting this to a true value will make \*(C`Dump\*(C'\fR omit the leading \*(C`\-\-\-\en\*(C'\fR marker.

$YAML::Syck::SortKeysDefaults to false. Setting this to a true value will make \*(C`Dump\*(C'\fR sort hash keys.

$YAML::Syck::SingleQuoteDefaults to false. Setting this to a true value will make \*(C`Dump\*(C'\fR always emit single quotes instead of bare strings.

$YAML::Syck::ImplicitTypingDefaults to false. Setting this to a true value will make \*(C`Load\*(C'\fR recognize various implicit types in YAML, such as unquoted \*(C`true\*(C'\fR, \f(CW\*(C`false\*(C'\fR, as well as integers and floating-point numbers. Otherwise, only \*(C`~\*(C'\fR is recognized to be \*(C`undef\*(C'\fR.

$YAML::Syck::ImplicitUnicodeDefaults to false. For Perl 5.8.0 or later, setting this to a true value will make \*(C`Load\*(C'\fR set Unicode flag on for every string that contains valid \s-1UTF8\s0 sequences, and make \*(C`Dump\*(C'\fR return a unicode string. Regardless of this flag, Unicode strings are dumped verbatim without escaping; byte strings with high-bit set will be dumped with backslash escaping. However, because YAML does not distinguish between these two kinds of strings, so this flag will affect loading of both variants of strings.

$YAML::Syck::ImplicitBinaryDefaults to false. For Perl 5.8.0 or later, setting this to a true value will make \*(C`Dump\*(C'\fR generate Base64\-encoded \f(CW\*(C`!!binary\*(C'\fR data for all non-Unicode scalars containing high-bit bytes.

$YAML::Syck::UseCode / $YAML::Syck::LoadCode / $YAML::Syck::DumpCodeThese flags control whether or not to try and eval/deparse perl source code; each of them defaults to false. Setting $YAML::Syck::UseCode to a true value is equivalent to setting both $YAML::Syck::LoadCode and $YAML::Syck::DumpCode to true.

BUGSDumping Glob/IO values does not work yet.

CAVEATSThis module implements the YAML 1.0 spec. To deal with data in YAML 1.1, please use the \*(C`YAML::XS\*(C'\fR module instead. The current implementation bundles libsyck source code; if your system has a site-wide shared libsyck, it will not be used. Tag names such as \*(C`!!perl/hash:Foo\*(C'\fR is blessed into the package \f(CW\*(C`Foo\*(C'\fR, but the \*(C`!hs/foo\*(C'\fR and \f(CW\*(C`!!hs/Foo\*(C'\fR tags are blessed into \f(CW\*(C`hs::Foo\*(C'\fR. Note that this holds true even if the tag contains non-word characters; for example, ​\*(C`!haskell.org/Foo\*(C'\fR is blessed into \f(CW\*(C`haskell.org::Foo\*(C'\fR. Please use Class::Rebless to cast it into other user-defined packages.

SEE ALSOYAML, JSON::Syck <http://www.yaml.org/>

AUTHORSAudrey Tang <cpan@audreyt.org>

COPYRIGHTCopyright 2005−2009 by Audrey Tang <cpan@audreyt.org>. This software is released under the MIT license cited below. The libsyck code bundled with this library is released by ​why the lucky stiff, under a BSD-style license. See the COPYING file for details.

The ``MIT'' LicensePermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the Software), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESSOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ​FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALLTHE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISINGFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHERDEALINGS IN THE SOFTWARE.
0
Johanes Gumabo
Data Size   :   20,989 byte
man-YAML::Syck.3pmBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   5 / 173,252
Visitor ID   :     :  
Visitor IP   :   3.135.249.119   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|249|YAML::Syck.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|149|YAML::Syck.3pm|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|249|YAML::Syck.3pm|41|br══─}─══|'br══─}─══ )         (htmlprn|149|YAML::Syck.3pm|41|'br══─}─══ |'br══─}─══ )         (rof_nr_x|149|YAML::Syck.3pm|51/52|\nF|.ie \nF ══─{─══. de IX )         (rof_unit_scale_px|41|YAML::Syck.3pm|51/52|F|.ie \nF ══─{─══. de IX )         (rof_if|19|YAML::Syck.3pm|51/52|\nF|.ie \nF ══─{─══. de IX )         (htmlprn|149|YAML::Syck.3pm|51/52|.ie \nF ══─{─══. de IX|.ie \nF ══─{─══. de IX )         (rof_escape_sequence|91|YAML::Syck.3pm|53|\$1\t\\n%\t"\\$2" |. tm Index:\\$1\t\\n%\t"\\$2" )         (parse_manual_page_|249|YAML::Syck.3pm|57|══─}─══|.══─}─══ )         (htmlprn|149|YAML::Syck.3pm|57|.══─}─══ |.══─}─══ )         (rof_escape_sequence|91|YAML::Syck.3pm|160|\*(C`Dump\*(C'\fR and \f(CW\*(C`Load\*(C'\fR functions for converting |library. It exports the \f(CW\*(C`Dump\*(C'\fR and \f(CW\*(C`Load\*(C'\fR functions for converting )         (rof_escape_sequence|91|YAML::Syck.3pm|165|\*(C`Load\*(C'\fR/\f(CW\*(C`Dump\*(C'\fR functions. The default setting is for |calling the \f(CW\*(C`Load\*(C'\fR/\f(CW\*(C`Dump\*(C'\fR functions. The default setting is for )         (rof_escape_sequence|91|YAML::Syck.3pm|166|\*(C`YAML.pm\*(C'\fR. |preserving backward-compatibility with \f(CW\*(C`YAML.pm\*(C'\fR. )         (rof_escape_sequence|91|YAML::Syck.3pm|172|\*(C`Dump\*(C'\fR omit the |Defaults to false. Setting this to a true value will make \f(CW\*(C`Dump\*(C'\fR omit the )         (rof_escape_sequence|91|YAML::Syck.3pm|173|\*(C`\-\-\-\en\*(C'\fR marker. |leading \f(CW\*(C`\-\-\-\en\*(C'\fR marker. )         (rof_escape_sequence|91|YAML::Syck.3pm|177|\*(C`Dump\*(C'\fR sort |Defaults to false. Setting this to a true value will make \f(CW\*(C`Dump\*(C'\fR sort )         (rof_escape_sequence|91|YAML::Syck.3pm|182|\*(C`Dump\*(C'\fR always emit |Defaults to false. Setting this to a true value will make \f(CW\*(C`Dump\*(C'\fR always emit )         (rof_escape_sequence|91|YAML::Syck.3pm|187|\*(C`Load\*(C'\fR recognize |Defaults to false. Setting this to a true value will make \f(CW\*(C`Load\*(C'\fR recognize )         (rof_escape_sequence|91|YAML::Syck.3pm|188|\*(C`true\*(C'\fR, \f(CW\*(C`false\*(C'\fR, as well as |various implicit types in \s-1YAML\s0, such as unquoted \f(CW\*(C`true\*(C'\fR, \f(CW\*(C`false\*(C'\fR, as well as )         (rof_escape_sequence|91|YAML::Syck.3pm|189|\*(C`~\*(C'\fR is recognized to |integers and floating-point numbers. Otherwise, only \f(CW\*(C`~\*(C'\fR is recognized to )         (rof_escape_sequence|91|YAML::Syck.3pm|190|\*(C`undef\*(C'\fR. |be \f(CW\*(C`undef\*(C'\fR. )         (rof_escape_sequence|91|YAML::Syck.3pm|195|\*(C`Load\*(C'\fR set Unicode flag on for every string that contains valid \s-1UTF8\s0 |make \f(CW\*(C`Load\*(C'\fR set Unicode flag on for every string that contains valid \s-1UTF8\s0 )         (rof_escape_sequence|91|YAML::Syck.3pm|196|\*(C`Dump\*(C'\fR return a unicode string. |sequences, and make \f(CW\*(C`Dump\*(C'\fR return a unicode string. )         (rof_escape_sequence|91|YAML::Syck.3pm|207|\*(C`Dump\*(C'\fR generate Base64\-encoded \f(CW\*(C`!!binary\*(C'\fR data for all non-Unicode |make \f(CW\*(C`Dump\*(C'\fR generate Base64\-encoded \f(CW\*(C`!!binary\*(C'\fR data for all non-Unicode )         (rof_escape_sequence|91|YAML::Syck.3pm|223|\*(C`YAML::XS\*(C'\fR module instead. |please use the \f(CW\*(C`YAML::XS\*(C'\fR module instead. )         (rof_escape_sequence|91|YAML::Syck.3pm|228|\*(C`!!perl/hash:Foo\*(C'\fR is blessed into the package \f(CW\*(C`Foo\*(C'\fR, but |Tag names such as \f(CW\*(C`!!perl/hash:Foo\*(C'\fR is blessed into the package \f(CW\*(C`Foo\*(C'\fR, but )         (rof_escape_sequence|91|YAML::Syck.3pm|229|\*(C`!hs/foo\*(C'\fR and \f(CW\*(C`!!hs/Foo\*(C'\fR tags are blessed into \f(CW\*(C`hs::Foo\*(C'\fR. Note that |the \f(CW\*(C`!hs/foo\*(C'\fR and \f(CW\*(C`!!hs/Foo\*(C'\fR tags are blessed into \f(CW\*(C`hs::Foo\*(C'\fR. Note that )         (rof_escape_sequence|91|YAML::Syck.3pm|231|\*(C`!haskell.org/Foo\*(C'\fR is blessed into \f(CW\*(C`haskell.org::Foo\*(C'\fR. Please use |\&\f(CW\*(C`!haskell.org/Foo\*(C'\fR is blessed into \f(CW\*(C`haskell.org::Foo\*(C'\fR. Please use )