argra****@users*****
argra****@users*****
2012年 11月 29日 (木) 18:51:12 JST
Index: docs/modules/YAML-0.62/lib/YAML/Base.pod diff -u docs/modules/YAML-0.62/lib/YAML/Base.pod:1.1 docs/modules/YAML-0.62/lib/YAML/Base.pod:1.2 --- docs/modules/YAML-0.62/lib/YAML/Base.pod:1.1 Sun Oct 22 20:36:09 2006 +++ docs/modules/YAML-0.62/lib/YAML/Base.pod Thu Nov 29 18:51:12 2012 @@ -1,9 +1,13 @@ =encoding utf-8 -=head1 åå +=head1 NAME + +=begin original YAML::Base - Base class for YAML classes +=end original + YAML::Base - YAML ã¯ã©ã¹ç¾¤ã®ãã¼ã¹ã¯ã©ã¹ =head1 æ¦è¦ @@ -13,8 +17,12 @@ =head1 説æ +=begin original + YAML::Base is the parent of all YAML classes. +=end original + YAML::Base ã¯å ¨ã¦ã® YAML ã¯ã©ã¹ã®è¦ªã§ã. =head1 èè @@ -27,13 +35,21 @@ Copyright (c) 2006. Ingy dE<ouml>t Net. All rights reserved. +=begin original + This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. +=end original + ãã®ããã°ã©ã ã¯ããªã¼ã½ããã¦ã§ã¢ã§ããããªã㯠Perl ã¨åã ã©ã¤ã»ã³ã¹ã® å ã§åé å¸åã³å¤æ´ãè¡ããã¨ãåºæ¥ã¾ã. +=begin original + See L<http://www.perl.com/perl/misc/Artistic.html> +=end original + åè L<http://www.perl.com/perl/misc/Artistic.html> Index: docs/modules/YAML-0.62/lib/YAML/Dumper.pod diff -u docs/modules/YAML-0.62/lib/YAML/Dumper.pod:1.1 docs/modules/YAML-0.62/lib/YAML/Dumper.pod:1.2 --- docs/modules/YAML-0.62/lib/YAML/Dumper.pod:1.1 Sun Oct 22 20:36:09 2006 +++ docs/modules/YAML-0.62/lib/YAML/Dumper.pod Thu Nov 29 18:51:12 2012 @@ -1,9 +1,13 @@ =encoding utf-8 -=head1 åå +=head1 NAME + +=begin original YAML::Dumper - YAML class for dumping Perl objects to YAML +=end original + YAML::Dumper - Perl ãªãã¸ã§ã¯ãã YAML ã«ãã³ããã YAML ã¯ã©ã¹ =head1 æ¦è¦ @@ -15,9 +19,13 @@ =head1 説æ +=begin original + 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. +=end original + YAML::Dumper 㯠YAML.pm ã Perl ãªãã¸ã§ã¯ãã YAML ã¸ã¨ã·ãªã¢ã©ã¤ãº ããããã«å©ç¨ããã¢ã¸ã¥ã¼ã«ã§ã. å®å ¨ãªãªãã¸ã§ã¯ãæåã«ãªã£ã¦ã㦠ããèªèº«ã§å©ç¨ã§ãã¾ã. @@ -32,13 +40,21 @@ Copyright (c) 2006. Ingy dE<ouml>t Net. All rights reserved. +=begin original + This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. +=end original + ãã®ããã°ã©ã ã¯ããªã¼ã½ããã¦ã§ã¢ã§ããããªã㯠Perl ã¨åã ã©ã¤ã»ã³ã¹ã® å ã§åé å¸åã³å¤æ´ãè¡ããã¨ãåºæ¥ã¾ã. +=begin original + See L<http://www.perl.com/perl/misc/Artistic.html> +=end original + åè L<http://www.perl.com/perl/misc/Artistic.html> Index: docs/modules/YAML-0.62/lib/YAML/Error.pod diff -u docs/modules/YAML-0.62/lib/YAML/Error.pod:1.1 docs/modules/YAML-0.62/lib/YAML/Error.pod:1.2 --- docs/modules/YAML-0.62/lib/YAML/Error.pod:1.1 Sun Oct 22 20:36:09 2006 +++ docs/modules/YAML-0.62/lib/YAML/Error.pod Thu Nov 29 18:51:12 2012 @@ -1,9 +1,13 @@ =encoding utf-8 -=head1 åå +=head1 NAME + +=begin original YAML::Error - Error formatting class for YAML modules +=end original + YAML::Error - YAML ã¢ã¸ã¥ã¼ã«ç¾¤ç¨ã¨ã©ã¼æ´å½¢ã¯ã©ã¹ =head1 æ¦è¦ @@ -13,8 +17,12 @@ =head1 説æ +=begin original + This module provides a C<die> and a C<warn> facility. +=end original + ãã®ã¢ã¸ã¥ã¼ã«ã¯ C<die> åã³ C<warn> ã®æ©è½ãæä¾ãã¦ãã¾ã. =head1 èè @@ -27,13 +35,21 @@ Copyright (c) 2006. Ingy dE<ouml>t Net. All rights reserved. +=begin original + This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. +=end original + ãã®ããã°ã©ã ã¯ããªã¼ã½ããã¦ã§ã¢ã§ããããªã㯠Perl ã¨åã ã©ã¤ã»ã³ã¹ã® å ã§åé å¸åã³å¤æ´ãè¡ããã¨ãåºæ¥ã¾ã. +=begin original + See L<http://www.perl.com/perl/misc/Artistic.html> +=end original + åè L<http://www.perl.com/perl/misc/Artistic.html> Index: docs/modules/YAML-0.62/lib/YAML/Loader.pod diff -u docs/modules/YAML-0.62/lib/YAML/Loader.pod:1.1 docs/modules/YAML-0.62/lib/YAML/Loader.pod:1.2 --- docs/modules/YAML-0.62/lib/YAML/Loader.pod:1.1 Sun Oct 22 20:36:09 2006 +++ docs/modules/YAML-0.62/lib/YAML/Loader.pod Thu Nov 29 18:51:12 2012 @@ -1,9 +1,13 @@ =encoding utf-8 -=head1 åå +=head1 NAME + +=begin original YAML::Loader - YAML class for loading Perl objects to YAML +=end original + YAML::Loader - Perl ãªãã¸ã§ã¯ãã YAML ãããã¼ããã YAML ã¯ã©ã¹ =head1 æ¦è¦ @@ -16,9 +20,13 @@ =head1 説æ +=begin original + 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. +=end original + YAML::Loader 㯠YAML.pm ã Perl ãªãã¸ã§ã¯ãã YAML ã¸ã¨ãã·ãªã¢ã©ã¤ãº ããããã«å©ç¨ããã¢ã¸ã¥ã¼ã«ã§ã. å®å ¨ãªãªãã¸ã§ã¯ãæåã«ãªã£ã¦ã㦠ããèªèº«ã§å©ç¨ã§ãã¾ã. @@ -33,12 +41,20 @@ Copyright (c) 2006. Ingy dE<ouml>t Net. All rights reserved. +=begin original + This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. +=end original + ãã®ããã°ã©ã ã¯ããªã¼ã½ããã¦ã§ã¢ã§ããããªã㯠Perl ã¨åã ã©ã¤ã»ã³ã¹ã® å ã§åé å¸åã³å¤æ´ãè¡ããã¨ãåºæ¥ã¾ã. +=begin original + See L<http://www.perl.com/perl/misc/Artistic.html> +=end original + åè L<http://www.perl.com/perl/misc/Artistic.html> Index: docs/modules/YAML-0.62/lib/YAML/Marshall.pod diff -u docs/modules/YAML-0.62/lib/YAML/Marshall.pod:1.1 docs/modules/YAML-0.62/lib/YAML/Marshall.pod:1.2 --- docs/modules/YAML-0.62/lib/YAML/Marshall.pod:1.1 Sun Oct 22 20:36:09 2006 +++ docs/modules/YAML-0.62/lib/YAML/Marshall.pod Thu Nov 29 18:51:12 2012 @@ -1,9 +1,13 @@ =encoding utf-8 -=head1 åå +=head1 NAME + +=begin original YAML::Marshall - YAML marshalling class you can mixin to your classes +=end original + YAML::Marshall - mixin ç¨ YAML ãã¼ã·ã£ã« ã¯ã©ã¹ =head1 æ¦è¦ @@ -14,8 +18,12 @@ =head1 説æ +=begin original + For classes that want to handle their own YAML serialization. +=end original + ããèªèº«ã§ YAML ç´ååãå¦çãããã¯ã©ã¹ã®ããã«. =head1 èè @@ -28,13 +36,21 @@ Copyright (c) 2006. Ingy dE<ouml>t Net. All rights reserved. +=begin original + This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. +=end original + ãã®ããã°ã©ã ã¯ããªã¼ã½ããã¦ã§ã¢ã§ããããªã㯠Perl ã¨åã ã©ã¤ã»ã³ã¹ã® å ã§åé å¸åã³å¤æ´ãè¡ããã¨ãåºæ¥ã¾ã. +=begin original + See L<http://www.perl.com/perl/misc/Artistic.html> +=end original + åè L<http://www.perl.com/perl/misc/Artistic.html> Index: docs/modules/YAML-0.62/lib/YAML/Node.pod diff -u docs/modules/YAML-0.62/lib/YAML/Node.pod:1.1 docs/modules/YAML-0.62/lib/YAML/Node.pod:1.2 --- docs/modules/YAML-0.62/lib/YAML/Node.pod:1.1 Sun Oct 22 20:36:09 2006 +++ docs/modules/YAML-0.62/lib/YAML/Node.pod Thu Nov 29 18:51:12 2012 @@ -1,9 +1,13 @@ =encoding utf-8 -=head1 åå +=head1 NAME + +=begin original YAML::Node - A generic data node that encapsulates YAML information +=end original + YAML::Node - YAML æ å ±ãå å ããæ±ç¨ãã¼ã¿ãã¼ã =head1 æ¦è¦ @@ -15,8 +19,12 @@ %$ynode = qw(orange orange apple red grape green); print Dump $ynode; +=begin original + yields: +=end original + çæç©: --- !ingerson.com/fruit @@ -26,14 +34,20 @@ =head1 説æ +=begin original + 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. +=end original + YAML ã®ä¸è¬çãªãã¼ãã¯ãã®åãç¶æããªããã°ãªããªãç¹ãé¤ãã° Perl ã®ããã·ã¥, é å, ã¹ã«ã©ã¼ã¨ä¼¼ã¦ãã¾ã. å㯠YAML ã¿ã¤ãã¿ã° ã¨å¼ã°ãã URI ã®ä¸ç¨®ã§ã. +=begin original + 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 @@ -41,6 +55,8 @@ order that the keys will be retrieved in. By default a ynode will offer its keys in the same order that they were assigned. +=end original + YAML::Node ã¯ãããã®ã³ã³ãããçæ, æä½ããããã®ã¯ã©ã¹ã§ã. YAML ãã¼ã(ããã㯠ynode) 㯠tie ãããããã·ã¥ãããã¯é å, ã¹ã«ã©ã¼ ã§ã. å¤ãã®å ´åãã®æ¯ãèãã¯å¥æ®µå¤åãã¾ãã. ããã YAML ãã¼ãã« @@ -48,33 +64,49 @@ ããã·ã¥ã«ã¯ãã¼ã®é åºãå²ãå½ã¦ããã¨ãã§ãã¾ã. ããã©ã«ãã§ã¯ ynode ã¯å²ãå½ã¦ãããé ã«æä¾ããã¾ã. +=begin original + 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. +=end original + YAML::Node ã«ã¯ ynode ãè¿ãã¯ã©ã¹ã¡ã½ãã new() ãããã¾ã. é常ã®ãã¼ãã¨, ä»»æã§ã¿ã¤ãã¿ã°ãå¼æ°ã«æ¸¡ãã¾ã. ãã¨ã¯æ®éã® Perl ã®ãã¼ããåãæ§ã«ä½¿ããã¨ãã§ãã¾ã. ããã YAML::Dump æã«ã¯magicå±æ§ã使ããã¾ã. +=begin original + 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. +=end original + YAML ã·ãªã¢ã©ã¤ã¼ã¼ã·ã§ã³ã«ããã¦ããã·ã¥ãã¼ã®ä¸¦ã³é ãå¶å¾¡ããã«ã¯ ããã使ãã¾ã. ããã©ã«ãã§ã¯ã¢ã«ãã¡ãããé ã«æ´åããã¾ã. ãããå ã®ä¾ã§ã¯ãã¼ã¯å²ãå½ã¦ãããé ã« Dump ããã¦ãã¾ã. +=begin original + YAML::Node exports a function called ynode(). This function returns the tied object so that you can call special methods on it like ->keys(). +=end original + YAML::Node 㯠ynode() ãã¨ã¯ã¹ãã¼ããã¾ã. ãã®é¢æ°ã¯ tie ããããªãã¸ã§ã¯ããè¿ãã®ã§, ->keys() ã®æ§ãªç¹å¥ãªã¡ã½ããã å¼ã³åºããã¨ãã§ãã¾ã. +=begin original + keys() works like this: +=end original + keys() ã¯æ¬¡ã®ããã«åä½ãã¾ã: use YAML; @@ -85,28 +117,44 @@ ynode($ynode)->keys(['grape', 'apple']); print Dump $ynode; +=begin original + produces: +=end original + çµæ: --- grape: green apple: red +=begin original + It tells the ynode which keys and what order to use. +=end original + ãã®ããã«, ã©ã®ãã¼ãã©ããªé ã§ä½¿ãããæå®ãããã¨ãã§ãã¾ã. +=begin original + 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. +=end original + ynode ã¯ããã°ã©ã ãã©ã®ããã« YAML ã使ããã«ãã£ã¦ã¨ã¦ãéè¦ãª å½¹å²ãæ ã£ã¦ãã¾ã. ãã㯠Perl ã¯ã©ã¹ããªãã¸ã§ã¯ãããã¼ãåã³ ãã³ãããæ¹æ³ã®åºç¤ã¨ãªã£ã¦ãã¾ã. +=begin original + The upcoming versions of YAML.pm will have much more information on this. +=end original + YAML.pm ã®ä»å¾ã®ãã¼ã¸ã§ã³ã§ã¯ãã£ã¨å¤ãã®æ å ±ãæã£ã¦ããã§ããã. =head1 èè @@ -120,13 +168,21 @@ Copyright (c) 2002. Brian Ingerson. All rights reserved. +=begin original + This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. +=end original + ãã®ããã°ã©ã ã¯ããªã¼ã½ããã¦ã§ã¢ã§ã. ãã®ããã°ã©ã 㯠Perl èªèº«ã¨åã æ¡ä»¶ä¸ã§åé å¸ã»æ¹å¤å¯è½ã§ã. +=begin original + See L<http://www.perl.com/perl/misc/Artistic.html> +=end original + åè http://www.perl.com/perl/misc/Artistic.html Index: docs/modules/YAML-0.62/lib/YAML/Tag.pod diff -u docs/modules/YAML-0.62/lib/YAML/Tag.pod:1.1 docs/modules/YAML-0.62/lib/YAML/Tag.pod:1.2 --- docs/modules/YAML-0.62/lib/YAML/Tag.pod:1.1 Sun Oct 22 20:36:09 2006 +++ docs/modules/YAML-0.62/lib/YAML/Tag.pod Thu Nov 29 18:51:12 2012 @@ -1,9 +1,13 @@ =encoding utf-8 -=head1 åå +=head1 NAME + +=begin original YAML::Tag - Tag URI object class for YAML +=end original + YAML::Tag - YAML ã®çºã®ã¿ã° URI ãªãã¸ã§ã¯ã =head1 æ¦è¦ @@ -12,8 +16,12 @@ =head1 説æ +=begin original + Used by YAML::Node. +=end original + YAML::Node ããå©ç¨ããã¾ã. =head1 èè @@ -26,13 +34,21 @@ Copyright (c) 2006. Ingy dE<ouml>t Net. All rights reserved. +=begin original + This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. +=end original + ãã®ããã°ã©ã ã¯ããªã¼ã½ããã¦ã§ã¢ã§ããããªã㯠Perl ã¨åã ã©ã¤ã»ã³ã¹ã® å ã§åé å¸åã³å¤æ´ãè¡ããã¨ãåºæ¥ã¾ã. +=begin original + See L<http://www.perl.com/perl/misc/Artistic.html> +=end original + åè L<http://www.perl.com/perl/misc/Artistic.html> Index: docs/modules/YAML-0.62/lib/YAML/Types.pod diff -u docs/modules/YAML-0.62/lib/YAML/Types.pod:1.1 docs/modules/YAML-0.62/lib/YAML/Types.pod:1.2 --- docs/modules/YAML-0.62/lib/YAML/Types.pod:1.1 Sun Oct 22 20:36:09 2006 +++ docs/modules/YAML-0.62/lib/YAML/Types.pod Thu Nov 29 18:51:12 2012 @@ -1,9 +1,13 @@ =encoding utf-8 -=head1 åå +=head1 NAME + +=begin original YAML::Transfer - Marshall Perl internal data types to/from YAML +=end original + YAML::Transfer - Perl å é¨ãã¼ã¿ã¨ YAML ã¨ã®æ´çè¦å¡ =head1 æ¦è¦ @@ -15,10 +19,14 @@ =head1 説æ +=begin original + This module has the helper classes for transferring objects, subroutines, references, globs, regexps and file handles to and from YAML. +=end original + ãã®ã¢ã¸ã¥ã¼ã«ã¯ãªãã¸ã§ã¯ã, ãµãã«ã¼ãã³, ãªãã¡ã¬ã³ã¹, ã°ãã, æ£è¦è¡¨ç¾, ããã¦ãã¡ã¤ã«ãã³ãã©ã¨ YAML ã¨é㮠転éãå©ãããã«ãã¼ã¯ã©ã¹ãæã£ã¦ãã¾ã. @@ -33,13 +41,21 @@ Copyright (c) 2006. Ingy dE<ouml>t Net. All rights reserved. +=begin original + This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. +=end original + ãã®ããã°ã©ã ã¯ããªã¼ã½ããã¦ã§ã¢ã§ããããªã㯠Perl ã¨åã ã©ã¤ã»ã³ã¹ã® å ã§åé å¸åã³å¤æ´ãè¡ããã¨ãåºæ¥ã¾ã. +=begin original + See L<http://www.perl.com/perl/misc/Artistic.html> +=end original + åè L<http://www.perl.com/perl/misc/Artistic.html>