YAMASHINA Hio
hio****@users*****
2006年 10月 22日 (日) 20:36:10 JST
Index: docs/modules/YAML-0.62/lib/YAML/Base.pod diff -u /dev/null docs/modules/YAML-0.62/lib/YAML/Base.pod:1.1 --- /dev/null Sun Oct 22 20:36:09 2006 +++ docs/modules/YAML-0.62/lib/YAML/Base.pod Sun Oct 22 20:36:09 2006 @@ -0,0 +1,39 @@ +=encoding utf-8 + +=head1 åå + +YAML::Base - Base class for YAML classes + +YAML::Base - YAML ã¯ã©ã¹ç¾¤ã®ãã¼ã¹ã¯ã©ã¹ + +=head1 æ¦è¦ + + package YAML::Something; + use YAML::Base -base; + +=head1 説æ + +YAML::Base is the parent of all YAML classes. + +YAML::Base ã¯å ¨ã¦ã® YAML ã¯ã©ã¹ã®è¦ªã§ã. + +=head1 èè + +Ingy dE<ouml>t Net <ingy****@cpan*****> + + +=head1 èä½æ¨© + +Copyright (c) 2006. Ingy dE<ouml>t Net. All rights reserved. + + +This program is free software; you can redistribute it and/or modify it +under the same terms as Perl itself. + +ãã®ããã°ã©ã ã¯ããªã¼ã½ããã¦ã§ã¢ã§ããããªã㯠Perl ã¨åã +ã©ã¤ã»ã³ã¹ã® å ã§åé å¸åã³å¤æ´ãè¡ããã¨ãåºæ¥ã¾ã. + +See L<http://www.perl.com/perl/misc/Artistic.html> + +åè L<http://www.perl.com/perl/misc/Artistic.html> + Index: docs/modules/YAML-0.62/lib/YAML/Dumper.pod diff -u /dev/null docs/modules/YAML-0.62/lib/YAML/Dumper.pod:1.1 --- /dev/null Sun Oct 22 20:36:09 2006 +++ docs/modules/YAML-0.62/lib/YAML/Dumper.pod Sun Oct 22 20:36:09 2006 @@ -0,0 +1,44 @@ +=encoding utf-8 + +=head1 åå + +YAML::Dumper - YAML class for dumping Perl objects to YAML + +YAML::Dumper - Perl ãªãã¸ã§ã¯ãã YAML ã«ãã³ããã YAML ã¯ã©ã¹ + +=head1 æ¦è¦ + + use YAML::Dumper; + my $dumper = YAML::Dumper->new; + $dumper->indent_width(4); + print $dumper->dump({foo => 'bar'}); + +=head1 説æ + +YAML::Dumper is the module that YAML.pm used to serialize Perl objects to +YAML. It is fully object oriented and usable on its own. + +YAML::Dumper 㯠YAML.pm ã Perl ãªãã¸ã§ã¯ãã YAML ã¸ã¨ã·ãªã¢ã©ã¤ãº +ããããã«å©ç¨ããã¢ã¸ã¥ã¼ã«ã§ã. å®å ¨ãªãªãã¸ã§ã¯ãæåã«ãªã£ã¦ã㦠+ããèªèº«ã§å©ç¨ã§ãã¾ã. + +=head1 èè + +Ingy dE<ouml>t Net <ingy****@cpan*****> + + +=head1 èä½æ¨© + +Copyright (c) 2006. Ingy dE<ouml>t Net. All rights reserved. + + +This program is free software; you can redistribute it and/or modify it +under the same terms as Perl itself. + +ãã®ããã°ã©ã ã¯ããªã¼ã½ããã¦ã§ã¢ã§ããããªã㯠Perl ã¨åã +ã©ã¤ã»ã³ã¹ã® å ã§åé å¸åã³å¤æ´ãè¡ããã¨ãåºæ¥ã¾ã. + +See L<http://www.perl.com/perl/misc/Artistic.html> + +åè L<http://www.perl.com/perl/misc/Artistic.html> + Index: docs/modules/YAML-0.62/lib/YAML/Error.pod diff -u /dev/null docs/modules/YAML-0.62/lib/YAML/Error.pod:1.1 --- /dev/null Sun Oct 22 20:36:09 2006 +++ docs/modules/YAML-0.62/lib/YAML/Error.pod Sun Oct 22 20:36:09 2006 @@ -0,0 +1,39 @@ +=encoding utf-8 + +=head1 åå + +YAML::Error - Error formatting class for YAML modules + +YAML::Error - YAML ã¢ã¸ã¥ã¼ã«ç¾¤ç¨ã¨ã©ã¼æ´å½¢ã¯ã©ã¹ + +=head1 æ¦è¦ + + $self->die('YAML_PARSE_ERR_NO_ANCHOR', $alias); + $self->warn('YAML_LOAD_WARN_DUPLICATE_KEY'); + +=head1 説æ + +This module provides a C<die> and a C<warn> facility. + +ãã®ã¢ã¸ã¥ã¼ã«ã¯ C<die> åã³ C<warn> ã®æ©è½ãæä¾ãã¦ãã¾ã. + +=head1 èè + +Ingy dE<ouml>t Net <ingy****@cpan*****> + + +=head1 èä½æ¨© + +Copyright (c) 2006. Ingy dE<ouml>t Net. All rights reserved. + + +This program is free software; you can redistribute it and/or modify it +under the same terms as Perl itself. + +ãã®ããã°ã©ã ã¯ããªã¼ã½ããã¦ã§ã¢ã§ããããªã㯠Perl ã¨åã +ã©ã¤ã»ã³ã¹ã® å ã§åé å¸åã³å¤æ´ãè¡ããã¨ãåºæ¥ã¾ã. + +See L<http://www.perl.com/perl/misc/Artistic.html> + +åè L<http://www.perl.com/perl/misc/Artistic.html> + Index: docs/modules/YAML-0.62/lib/YAML/Loader.pod diff -u /dev/null docs/modules/YAML-0.62/lib/YAML/Loader.pod:1.1 --- /dev/null Sun Oct 22 20:36:09 2006 +++ docs/modules/YAML-0.62/lib/YAML/Loader.pod Sun Oct 22 20:36:09 2006 @@ -0,0 +1,44 @@ +=encoding utf-8 + +=head1 åå + +YAML::Loader - YAML class for loading Perl objects to YAML + +YAML::Loader - Perl ãªãã¸ã§ã¯ãã YAML ãããã¼ããã YAML ã¯ã©ã¹ + +=head1 æ¦è¦ + + use YAML::Loader; + my $loader = YAML::Loader->new; + my $hash = $loader->load(<<'...'); + foo: bar + ... + +=head1 説æ + +YAML::Loader is the module that YAML.pm used to deserialize YAML to Perl +objects. It is fully object oriented and usable on its own. + +YAML::Loader 㯠YAML.pm ã Perl ãªãã¸ã§ã¯ãã YAML ã¸ã¨ãã·ãªã¢ã©ã¤ãº +ããããã«å©ç¨ããã¢ã¸ã¥ã¼ã«ã§ã. å®å ¨ãªãªãã¸ã§ã¯ãæåã«ãªã£ã¦ã㦠+ããèªèº«ã§å©ç¨ã§ãã¾ã. + +=head1 èè + +Ingy dE<ouml>t Net <ingy****@cpan*****> + + +=head1 èä½æ¨© + +Copyright (c) 2006. Ingy dE<ouml>t Net. All rights reserved. + + +This program is free software; you can redistribute it and/or modify it +under the same terms as Perl itself. + +ãã®ããã°ã©ã ã¯ããªã¼ã½ããã¦ã§ã¢ã§ããããªã㯠Perl ã¨åã +ã©ã¤ã»ã³ã¹ã® å ã§åé å¸åã³å¤æ´ãè¡ããã¨ãåºæ¥ã¾ã. + +See L<http://www.perl.com/perl/misc/Artistic.html> + +åè L<http://www.perl.com/perl/misc/Artistic.html> Index: docs/modules/YAML-0.62/lib/YAML/Marshall.pod diff -u /dev/null docs/modules/YAML-0.62/lib/YAML/Marshall.pod:1.1 --- /dev/null Sun Oct 22 20:36:09 2006 +++ docs/modules/YAML-0.62/lib/YAML/Marshall.pod Sun Oct 22 20:36:09 2006 @@ -0,0 +1,40 @@ +=encoding utf-8 + +=head1 åå + +YAML::Marshall - YAML marshalling class you can mixin to your classes + +YAML::Marshall - mixin ç¨ YAML ãã¼ã·ã£ã« ã¯ã©ã¹ + +=head1 æ¦è¦ + + package Bar; + use Foo -base; + use YAML::Marshall -mixin; + +=head1 説æ + +For classes that want to handle their own YAML serialization. + +ããèªèº«ã§ YAML ç´ååãå¦çãããã¯ã©ã¹ã®ããã«. + +=head1 èè + +Ingy dE<ouml>t Net <ingy****@cpan*****> + + +=head1 èä½æ¨© + +Copyright (c) 2006. Ingy dE<ouml>t Net. All rights reserved. + + +This program is free software; you can redistribute it and/or modify it +under the same terms as Perl itself. + +ãã®ããã°ã©ã ã¯ããªã¼ã½ããã¦ã§ã¢ã§ããããªã㯠Perl ã¨åã +ã©ã¤ã»ã³ã¹ã® å ã§åé å¸åã³å¤æ´ãè¡ããã¨ãåºæ¥ã¾ã. + +See L<http://www.perl.com/perl/misc/Artistic.html> + +åè L<http://www.perl.com/perl/misc/Artistic.html> + Index: docs/modules/YAML-0.62/lib/YAML/Node.pod diff -u /dev/null docs/modules/YAML-0.62/lib/YAML/Node.pod:1.1 --- /dev/null Sun Oct 22 20:36:09 2006 +++ docs/modules/YAML-0.62/lib/YAML/Node.pod Sun Oct 22 20:36:09 2006 @@ -0,0 +1,132 @@ +=encoding utf-8 + +=head1 åå + +YAML::Node - A generic data node that encapsulates YAML information + +YAML::Node - YAML æ å ±ãå å ããæ±ç¨ãã¼ã¿ãã¼ã + +=head1 æ¦è¦ + + use YAML; + use YAML::Node; + + my $ynode = YAML::Node->new({}, 'ingerson.com/fruit'); + %$ynode = qw(orange orange apple red grape green); + print Dump $ynode; + +yields: + +çæç©: + + --- !ingerson.com/fruit + orange: orange + apple: red + grape: green + +=head1 説æ + +A generic node in YAML is similar to a plain hash, array, or scalar node +in Perl except that it must also keep track of its type. The type is a +URI called the YAML type tag. + +YAML ã®ä¸è¬çãªãã¼ãã¯ãã®åãç¶æããªããã°ãªããªãç¹ãé¤ãã° +Perl ã®ããã·ã¥, é å, ã¹ã«ã©ã¼ã¨ä¼¼ã¦ãã¾ã. å㯠YAML ã¿ã¤ãã¿ã° +ã¨å¼ã°ãã URI ã®ä¸ç¨®ã§ã. + +YAML::Node is a class for generating and manipulating these containers. +A YAML node (or ynode) is a tied hash, array or scalar. In most ways it +behaves just like the plain thing. But you can assign and retrieve and +YAML type tag URI to it. For the hash flavor, you can also assign the +order that the keys will be retrieved in. By default a ynode will offer +its keys in the same order that they were assigned. + +YAML::Node ã¯ãããã®ã³ã³ãããçæ, æä½ããããã®ã¯ã©ã¹ã§ã. +YAML ãã¼ã(ããã㯠ynode) 㯠tie ãããããã·ã¥ãããã¯é å, ã¹ã«ã©ã¼ +ã§ã. å¤ãã®å ´åãã®æ¯ãèãã¯å¥æ®µå¤åãã¾ãã. ããã YAML ãã¼ãã« +対ãã¦ã¯ YAML ã¿ã¤ãã¿ã° URI ãå²ãå½ã¦ããã¨ãã§ãã¾ã. +ããã·ã¥ã«ã¯ãã¼ã®é åºãå²ãå½ã¦ããã¨ãã§ãã¾ã. ããã©ã«ãã§ã¯ ynode +ã¯å²ãå½ã¦ãããé ã«æä¾ããã¾ã. + +YAML::Node has a class method call new() that will return a ynode. You +pass it a regular node and an optional type tag. After that you can +use it like a normal Perl node, but when you YAML::Dump it, the magical +properties will be honored. + +YAML::Node ã«ã¯ ynode ãè¿ãã¯ã©ã¹ã¡ã½ãã new() ãããã¾ã. +é常ã®ãã¼ãã¨, ä»»æã§ã¿ã¤ãã¿ã°ãå¼æ°ã«æ¸¡ãã¾ã. +ãã¨ã¯æ®éã® Perl ã®ãã¼ããåãæ§ã«ä½¿ããã¨ãã§ãã¾ã. ããã +YAML::Dump æã«ã¯magicå±æ§ã使ããã¾ã. + +This is how you can control the sort order of hash keys during a YAML +serialization. By default, YAML sorts keys alphabetically. But notice +in the above example that the keys were Dumped in the same order they +were assigned. + +YAML ã·ãªã¢ã©ã¤ã¼ã¼ã·ã§ã³ã«ããã¦ããã·ã¥ãã¼ã®ä¸¦ã³é ãå¶å¾¡ããã«ã¯ +ããã使ãã¾ã. ããã©ã«ãã§ã¯ã¢ã«ãã¡ãããé ã«æ´åããã¾ã. +ãããå ã®ä¾ã§ã¯ãã¼ã¯å²ãå½ã¦ãããé ã« Dump ããã¦ãã¾ã. + +YAML::Node exports a function called ynode(). This function returns the tied object so that you can call special methods on it like ->keys(). + +YAML::Node 㯠ynode() ãã¨ã¯ã¹ãã¼ããã¾ã. ãã®é¢æ°ã¯ +tie ããããªãã¸ã§ã¯ããè¿ãã®ã§, ->keys() ã®æ§ãªç¹å¥ãªã¡ã½ããã +å¼ã³åºããã¨ãã§ãã¾ã. + +keys() works like this: + +keys() ã¯æ¬¡ã®ããã«åä½ãã¾ã: + + use YAML; + use YAML::Node; + + %$node = qw(orange orange apple red grape green); + $ynode = YAML::Node->new($node); + ynode($ynode)->keys(['grape', 'apple']); + print Dump $ynode; + +produces: + +çµæ: + + --- + grape: green + apple: red + +It tells the ynode which keys and what order to use. + +ãã®ããã«, ã©ã®ãã¼ãã©ããªé ã§ä½¿ãããæå®ãããã¨ãã§ãã¾ã. + +ynodes will play a very important role in how programs use YAML. They +are the foundation of how a Perl class can marshall the Loading and +Dumping of its objects. + +ynode ã¯ããã°ã©ã ãã©ã®ããã« YAML ã使ããã«ãã£ã¦ã¨ã¦ãéè¦ãª +å½¹å²ãæ ã£ã¦ãã¾ã. ãã㯠Perl ã¯ã©ã¹ããªãã¸ã§ã¯ãããã¼ãåã³ +ãã³ãããæ¹æ³ã®åºç¤ã¨ãªã£ã¦ãã¾ã. + +The upcoming versions of YAML.pm will have much more information on this. + +YAML.pm ã®ä»å¾ã®ãã¼ã¸ã§ã³ã§ã¯ãã£ã¨å¤ãã®æ å ±ãæã£ã¦ããã§ããã. + +=head1 èè + +Ingy dE<ouml>t Net <ingy****@cpan*****> + + +=head1 èä½æ¨© + +Copyright (c) 2006. Ingy dE<ouml>t Net. All rights reserved. +Copyright (c) 2002. Brian Ingerson. All rights reserved. + + +This program is free software; you can redistribute it and/or modify it +under the same terms as Perl itself. + +ãã®ããã°ã©ã ã¯ããªã¼ã½ããã¦ã§ã¢ã§ã. ãã®ããã°ã©ã 㯠Perl èªèº«ã¨åã +æ¡ä»¶ä¸ã§åé å¸ã»æ¹å¤å¯è½ã§ã. + +See L<http://www.perl.com/perl/misc/Artistic.html> + +åè http://www.perl.com/perl/misc/Artistic.html + Index: docs/modules/YAML-0.62/lib/YAML/Tag.pod diff -u /dev/null docs/modules/YAML-0.62/lib/YAML/Tag.pod:1.1 --- /dev/null Sun Oct 22 20:36:09 2006 +++ docs/modules/YAML-0.62/lib/YAML/Tag.pod Sun Oct 22 20:36:09 2006 @@ -0,0 +1,38 @@ +=encoding utf-8 + +=head1 åå + +YAML::Tag - Tag URI object class for YAML + +YAML::Tag - YAML ã®çºã®ã¿ã° URI ãªãã¸ã§ã¯ã + +=head1 æ¦è¦ + + use YAML::Tag; + +=head1 説æ + +Used by YAML::Node. + +YAML::Node ããå©ç¨ããã¾ã. + +=head1 èè + +Ingy dE<ouml>t Net <ingy****@cpan*****> + + +=head1 èä½æ¨© + +Copyright (c) 2006. Ingy dE<ouml>t Net. All rights reserved. + + +This program is free software; you can redistribute it and/or modify it +under the same terms as Perl itself. + +ãã®ããã°ã©ã ã¯ããªã¼ã½ããã¦ã§ã¢ã§ããããªã㯠Perl ã¨åã +ã©ã¤ã»ã³ã¹ã® å ã§åé å¸åã³å¤æ´ãè¡ããã¨ãåºæ¥ã¾ã. + +See L<http://www.perl.com/perl/misc/Artistic.html> + +åè L<http://www.perl.com/perl/misc/Artistic.html> + Index: docs/modules/YAML-0.62/lib/YAML/Types.pod diff -u /dev/null docs/modules/YAML-0.62/lib/YAML/Types.pod:1.1 --- /dev/null Sun Oct 22 20:36:09 2006 +++ docs/modules/YAML-0.62/lib/YAML/Types.pod Sun Oct 22 20:36:09 2006 @@ -0,0 +1,45 @@ +=encoding utf-8 + +=head1 åå + +YAML::Transfer - Marshall Perl internal data types to/from YAML + +YAML::Transfer - Perl å é¨ãã¼ã¿ã¨ YAML ã¨ã®æ´çè¦å¡ + +=head1 æ¦è¦ + + $::foo = 42; + print YAML::Dump(*::foo); + + print YAML::Dump(qr{match me}); + +=head1 説æ + +This module has the helper classes for transferring objects, +subroutines, references, globs, regexps and file handles to and +from YAML. + +ãã®ã¢ã¸ã¥ã¼ã«ã¯ãªãã¸ã§ã¯ã, ãµãã«ã¼ãã³, ãªãã¡ã¬ã³ã¹, +ã°ãã, æ£è¦è¡¨ç¾, ããã¦ãã¡ã¤ã«ãã³ãã©ã¨ YAML ã¨éã® +転éãå©ãããã«ãã¼ã¯ã©ã¹ãæã£ã¦ãã¾ã. + +=head1 èè + +Ingy dE<ouml>t Net <ingy****@cpan*****> + + +=head1 èä½æ¨© + +Copyright (c) 2006. Ingy dE<ouml>t Net. All rights reserved. + + +This program is free software; you can redistribute it and/or modify it +under the same terms as Perl itself. + +ãã®ããã°ã©ã ã¯ããªã¼ã½ããã¦ã§ã¢ã§ããããªã㯠Perl ã¨åã +ã©ã¤ã»ã³ã¹ã® å ã§åé å¸åã³å¤æ´ãè¡ããã¨ãåºæ¥ã¾ã. + +See L<http://www.perl.com/perl/misc/Artistic.html> + +åè L<http://www.perl.com/perl/misc/Artistic.html> +