Date: Tuesday April 23, 2019 @ 22:57 Author: argrath Update of /cvsroot/perldocjp/docs/perl/5.26.1 In directory sf-cvs:/tmp/cvs-serv86619/perl/5.26.1 Modified Files: perlport.pod Log Message: 5.26.1/perlport =================================================================== File: perlport.pod Status: Up-to-date Working revision: 1.2 Tue Apr 23 13:57:10 2019 Repository revision: 1.2 /cvsroot/perldocjp/docs/perl/5.26.1/perlport.pod,v Existing Tags: No Tags Exist -------------- next part -------------- Index: docs/perl/5.26.1/perlport.pod diff -u docs/perl/5.26.1/perlport.pod:1.1 docs/perl/5.26.1/perlport.pod:1.2 --- docs/perl/5.26.1/perlport.pod:1.1 Tue Apr 9 02:03:35 2019 +++ docs/perl/5.26.1/perlport.pod Tue Apr 23 22:57:10 2019 @@ -1842,14 +1842,14 @@ =end original -By default Perl assumes your source code is written in an 8-bit ASCII -superset. To embed Unicode characters in your strings and regexes, you can -use the L<C<\x{HH}> or (more portably) C<\N{U+HH}> -notations|perlop/Quote and Quote-like Operators>. You can also use the -L<C<utf8>|utf8> pragma and write your code in UTF-8, which lets you use -Unicode characters directly (not just in quoted constructs but also in -identifiers). -(TBT) +¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï Perl ¤Ï¥½¡¼¥¹¥³¡¼¥É¤¬ 8-bit ASCII ¾å°Ì½¸¹ç¤Ç½ñ¤«¤ì¤Æ¤¤¤ë¤È +²¾Äꤷ¤Þ¤¹¡£ +ʸ»úÎó¤äÀµµ¬É½¸½¤Ë Unicode ʸ»ú¤òËä¤á¹þ¤à¤Ë¤Ï¡¢ +L<C<\x{HH}> ¤ä (¤è¤ê°Ü¿¢À¤Î¤¢¤ë) C<\N{U+HH}> +µË¡|perlop/Quote and Quote-like Operators> ¤ò»È¤¨¤Þ¤¹¡£ +¤Þ¤¿¡¢L<C<utf8>|utf8> ¥×¥é¥°¥Þ¤ò»È¤Ã¤Æ¥³¡¼¥É¤ò UTF-8 ¤Ç½ñ¤¡¢ +Unicode ʸ»ú¤òľÀÜ (ñ¤Ë¥¯¥©¡¼¥È¤µ¤ì¤¿¹½Â¤¤À¤±¤Ç¤Ê¤¯¼±Ê̻Ҥˤâ) »È¤¦¤³¤È¤â +¤Ç¤¤Þ¤¹¡£ =head2 System Resources @@ -2412,10 +2412,9 @@ =end original -Errors set by Winsock functions are now put directly into C<$^E>, -and the relevant C<WSAE*> error codes are now exported from the -L<Errno> and L<POSIX> modules for testing this against. -(TBT) +Winsock ´Ø¿ô¤Ë¤è¤Ã¤ÆÀßÄꤵ¤ì¤¿¥¨¥é¡¼¤ÏľÀÜ C<$^E> ¤ËÀßÄꤵ¤ì¤ë¤è¤¦¤Ë¤Ê¤ê¡¢ +´ØÏ¢¤¹¤ë C<WSAE*> ¥¨¥é¡¼¥³¡¼¥É¤Ï¤³¤ì¤ò¥Æ¥¹¥È¤¹¤ë¤¿¤á¤Ë L<Errno> ¤ª¤è¤Ó +L<POSIX> ¥â¥¸¥å¡¼¥ë¤«¤é¥¨¥¯¥¹¥Ý¡¼¥È¤µ¤ì¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£ =begin original @@ -2427,12 +2426,12 @@ =end original -The previous behavior of putting the errors (converted to POSIX-style -C<E*> error codes since Perl 5.20.0) into C<$!> was buggy due to -the non-equivalence of like-named Winsock and POSIX error constants, -a relationship between which has unfortunately been established -in one way or another since Perl 5.8.0. -(TBT) +(Perl 5.20.0 ¤«¤é¤Î¡¢C<E*> ¥¨¥é¡¼¥³¡¼¥É¤ò POSIX ·Á¼°¤Ø¤ÎÊÑ´¹¤·¤Æ) +¥¨¥é¡¼¤òC<$!> ¤ËÀßÄꤹ¤ë¤È¤¤¤¦°ÊÁ°¤Î¿¶¤ëÉñ¤¤¤Ï¡¢ +C<E*> error codes since Perl 5.20.0) into was buggy due to +»÷¤¿¤è¤¦¤Ê̾Á°¤Î Winsock ¤È POSIC ¥¨¥é¡¼Äê¿ô¤ÎÈóÅù²ÁÀ¡¢ +Perl 5.8.0 ¤«¤éÉÔ¹¬¤Ë¤â°ìÊý¸þ¤Ë³ÎΩ¤µ¤ì¤¿´Ø·¸¤Ë¤è¤Ã¤Æ¡¢ +¥Ð¥°¤ò´Þ¤ó¤Ç¤¤¤Þ¤¹¡£ =begin original @@ -2443,11 +2442,10 @@ =end original -The new behavior provides a much more robust solution for checking -Winsock errors in portable software without accidentally matching -POSIX tests that were intended for other OSes and may have different -meanings for Winsock. -(TBT) +¿·¤·¤¤¿¶¤ëÉñ¤¤¤Ï¡¢Â¾¤Î OS ¤òÁÛÄꤷ¤¿ POSIX ¥Æ¥¹¥È¤È Winsock ¤Ç¤Ï°Û¤Ê¤ë°ÕÌ£¤ò +»ý¤Ä¤«¤â¤·¤ì¤Ê¤¤¤â¤Î¤¬¶öÁ³°ìÃפ¹¤ë¤È¤¤¤¦¤³¤È¤Ê¤·¤Ë¡¢ +°Ü¿¢À¤Î¤¢¤ë¥½¥Õ¥È¥¦¥§¥¢¤Ç Winsock ¤Î¥¨¥é¡¼¤ò¥Á¥§¥Ã¥¯¤¹¤ë¤¿¤á¤Î +ÍÚ¤«¤Ë·øÏ´¤Ê²òË¡¤òÄ󶡤·¤Þ¤¹¡£ =begin original @@ -2461,14 +2459,13 @@ =end original -The old behavior is currently retained, warts and all, for backwards -compatibility, but users are encouraged to change any code that -tests C<$!> against C<E*> constants for Winsock errors to instead -test C<$^E> against C<WSAE*> constants. After a suitable deprecation -period, which started with Perl 5.24, the old behavior may be -removed, leaving C<$!> unchanged after Winsock function calls, to -avoid any possible confusion over which error variable to check. -(TBT) +¸½ºß¤Î¤È¤³¤í¸åÊý¸ß´¹À¤Î¤¿¤á¤Ë¸Å¤¤¿¶¤ëÉñ¤¤¤â·çÅÀ¤â´Þ¤á¤Æ¤¢¤ê¤Î¤Þ¤Þ +»Ä¤Ã¤Æ¤¤¤Þ¤¹¤¬¡¢¥æ¡¼¥¶¡¼¤Ï Winsock ¤Î¤¿¤á¤Ë C<$!> ¤ò C<E*> Äê¿ô¤È +¥Æ¥¹¥È¤·¤Æ¤¤¤ëÁ´¤Æ¤Î¥³¡¼¥É¤ò C<$^E> ¤ò C<WSAE*> Äê¿ô¤È¥Æ¥¹¥È¤¹¤ë¤è¤¦¤Ë +Êѹ¹¤¹¤ë¤³¤È¤¬¿ä¾©¤µ¤ì¤Þ¤¹¡£ +Perl 5.24 ¤«¤é»Ï¤Þ¤Ã¤¿Å¬ÀÚ¤ÊÇÑ»ßͽÄê´ü´Ö¤Î¸å¡¢¸Å¤¤¿¶¤ëÉñ¤¤¤Ïºï½ü¤µ¤ì¡¢ +¥Á¥§¥Ã¥¯¤¹¤ë¥¨¥é¡¼ÊÑ¿ô¤Ë´Ø¤¹¤ë¤¢¤é¤æ¤ëº®Íð¤òÈò¤±¤ë¤¿¤á¤Ë¡¢ +Winsock ´Ø¿ô¸Æ¤Ó½Ð¤·¤Ç¤Ï C<$!> ¤ÏÊѹ¹¤µ¤ì¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£ =begin original @@ -5932,7 +5929,7 @@ =begin meta Translate: SHIRAKATA Kentaro <argra****@ub32*****> (5.10.1-) -Status: in progress +Status: completed =end meta