ktats****@users*****
ktats****@users*****
2013年 4月 21日 (日) 01:13:41 JST
Index: docs/modules/English-1.04/lib/English.pod diff -u /dev/null docs/modules/English-1.04/lib/English.pod:1.1 --- /dev/null Sun Apr 21 01:13:41 2013 +++ docs/modules/English-1.04/lib/English.pod Sun Apr 21 01:13:41 2013 @@ -0,0 +1,87 @@ +=encoding utf8 + +=head1 NAME + +=begin original + +English - use nice English (or awk) names for ugly punctuation variables + +=end original + +English - ããããããè±èªã® (ã¾ã㯠awkã®) ååãããããã«ããè¨å·ã®å¤æ°ã«ä½¿ã + +=head1 SYNOPSIS + + use English qw( -no_match_vars ) ; # Avoids regex performance penalty + use English; + ... + if ($ERRNO =~ /denied/) { ... } + +=head1 DESCRIPTION + +=begin original + +This module provides aliases for the built-in variables whose +names no one seems to like to read. Variables with side-effects +which get triggered just by accessing them (like $0) will still +be affected. + +=end original + +ãã®ã¢ã¸ã¥ã¼ã«ã¯èª°ãèªã¿ãããªããããªçµã¿è¾¼ã¿å¤æ°ã«ã¨ã¤ãªã¢ã¹ãæä¾ãã¾ãã +($0ã®ããã«)ã¢ã¯ã»ã¹ãããã¨ã§ããªã¬ã¼ã¨ãªããå¯ä½ç¨ããã¤å¤æ°ã +å½±é¿ãåãããã¨ã«ãªãã¾ãã + +=begin original + +For those variables that have an B<awk> version, both long +and short English alternatives are provided. For example, +the C<$/> variable can be referred to either $RS or +$INPUT_RECORD_SEPARATOR if you are using the English module. + +=end original + +B<awk> ãã¼ã¸ã§ã³ã®ååã®å¤æ°ã¯ãçããã®ã¨é·ããã®ã®ä¸¡æ¹ã®ä»£æ¿ã +æä¾ãã¦ãã¾ããä¾ãã°ã +C<$/>å¤æ°ã¯ $RS ã§ã $INPUT_RECORD_SEPARATOR ã§ãã +Englishã¢ã¸ã¥ã¼ã«ã使ãã°ãåç §ã§ãã¾ãã + + +=begin original + +See L<perlvar> for a complete list of these. + +=end original + +å®å ¨ãªãªã¹ã㯠L<perlvar> ãè¦ã¦ä¸ããã + +=head1 ããã©ã¼ãã³ã¹ + +=begin original + +This module can provoke sizeable inefficiencies for regular expressions, +due to unfortunate implementation details. If performance matters in +your application and you don't need $PREMATCH, $MATCH, or $POSTMATCH, +try doing + +=end original + +ãã®ã¢ã¸ã¥ã¼ã«ã¯ãä¸å¹¸ãªå®è£ ã®è©³ç´°ã®ããã«ãæ£è¦è¡¨ç¾ã«ããã¦ã +ããªãéå¹çã«ãªãå¯è½æ§ãããã¾ããããªãã®ã¢ããªã±ã¼ã·ã§ã³ã§ +ããã©ã¼ãã³ã¹ã«åé¡ãçãã$PREMATCHã$MATCH ã $POSTMATCHã使ãå¿ è¦ããªããªãã°ã +以ä¸ã試ãã¦ä¸ãã + + use English qw( -no_match_vars ) ; + +=begin original + +. B<It is especially important to do this in modules to avoid penalizing +all applications which use them.> + +=end original + +. B<åè¿°ã®å¤æ°ã使ãå ¨ã¦ã®ã¢ããªã±ã¼ã·ã§ã³ã¸ã®ããã«ãã£ã¼ãé¿ããããã«ã¯ã +ã¢ã¸ã¥ã¼ã«å ã§ããã使ããã¨ã¯ç¹ã«éè¦ã§ã> + +=cut +