argra****@users*****
argra****@users*****
2010年 5月 29日 (土) 05:46:33 JST
Index: docs/perl/5.12.1/perlfunc.pod diff -u docs/perl/5.12.1/perlfunc.pod:1.2 docs/perl/5.12.1/perlfunc.pod:1.3 --- docs/perl/5.12.1/perlfunc.pod:1.2 Sat May 29 05:38:39 2010 +++ docs/perl/5.12.1/perlfunc.pod Sat May 29 05:46:33 2010 @@ -8337,9 +8337,7 @@ 以下の条件が適用されます: --=over 8 -+=over -(TBT) +=over =item * @@ -8354,8 +8352,8 @@ -and C<u>, where it is equivalent to 1 (or 45, which is the same). -A numeric repeat count may optionally be enclosed in brackets, as in -C<pack 'C[80]', @arr>. -- (TBT) + =end original これらの文字の後には、繰り返し数を示す数字を付けることができます。 @@ -8376,8 +8374,8 @@ -If the template in brackets contains alignment commands (such as C<x![d]>), -its packed length is calculated as if the start of the template has the maximal -possible alignment. -- (TBT) + =end original 大かっこで囲まれたテンプレートで数値の繰り返し数を置き換えることができます; @@ -15787,14 +15785,21 @@ If EXPR is omitted, uses C<$_>. -+This function behaves the same way under various pragma, such as in a locale, -+as L</lc> does. -+ -(TBT) =end original EXPR が省略されると、C<$_> を使います。 +=begin original + +This function behaves the same way under various pragma, such as in a locale, +as L</lc> does. + +=end original + +This function behaves the same way under various pragma, such as in a locale, +as L</lc> does. +(TBT) + =item ucfirst EXPR X<ucfirst> X<uppercase> @@ -15824,14 +15829,21 @@ If EXPR is omitted, uses C<$_>. -+This function behaves the same way under various pragma, such as in a locale, -+as L</lc> does. -+ -(TBT) =end original EXPR が省略されると、C<$_> を使います。 +=begin original + +This function behaves the same way under various pragma, such as in a locale, +as L</lc> does. + +=end original + +This function behaves the same way under various pragma, such as in a locale, +as L</lc> does. +(TBT) + =item umask EXPR X<umask> @@ -16483,16 +16495,6 @@ which import symbols into the current package (which are effective through the end of the file). -+Because C<use> takes effect at compile time, it doesn't respect the -+ordinary flow control of the code being compiled. In particular, putting -+a C<use> inside the false branch of a conditional doesn't prevent it -+from being processed. If a module or pragma only needs to be loaded -+conditionally, this can be done using the L<if> pragma: -+ -+ use if $] < 5.008, "utf8"; -+ use if WANT_WARNINGS, warnings => qw(all); -+ -(TBT) =end original 通常のモジュールが、現在のパッケージにシンボルをインポートする @@ -16502,6 +16504,26 @@ =begin original +Because C<use> takes effect at compile time, it doesn't respect the +ordinary flow control of the code being compiled. In particular, putting +a C<use> inside the false branch of a conditional doesn't prevent it +from being processed. If a module or pragma only needs to be loaded +conditionally, this can be done using the L<if> pragma: + +=end original + +Because C<use> takes effect at compile time, it doesn't respect the +ordinary flow control of the code being compiled. In particular, putting +a C<use> inside the false branch of a conditional doesn't prevent it +from being processed. If a module or pragma only needs to be loaded +conditionally, this can be done using the L<if> pragma: +(TBT) + + use if $] < 5.008, "utf8"; + use if WANT_WARNINGS, warnings => qw(all); + +=begin original + There's a corresponding C<no> command that unimports meanings imported by C<use>, i.e., it calls C<unimport Module LIST> instead of C<import>. -It behaves exactly as C<import> does with respect to VERSION, an