[perldocjp-cvs 285] CVS update: docs/perl/5.10.0

Back to archive index

argra****@users***** argra****@users*****
2008年 6月 29日 (日) 04:38:57 JST


Index: docs/perl/5.10.0/perldiag.pod
diff -u docs/perl/5.10.0/perldiag.pod:1.3 docs/perl/5.10.0/perldiag.pod:1.4
--- docs/perl/5.10.0/perldiag.pod:1.3	Wed Jun 25 17:48:36 2008
+++ docs/perl/5.10.0/perldiag.pod	Sun Jun 29 04:38:57 2008
@@ -1236,9 +1236,9 @@
 
 =end original
 
-(F) You called C<break>, but you're in a C<foreach> block rather than
-a C<given> block. You probably meant to use C<next> or C<last>.
-(TBT)
+(F) C<break> を呼び出しましたが、C<given> ブロックではなく C<foreach>
+ブロック内でした。
+おそらく C<next> や C<last> を使いたかったのでしょう。
 
 =item Can't "break" outside a given block
 
@@ -3075,9 +3075,9 @@
 
 =end original
 
-(W io) The dirhandle you tried to close is either closed or not really
-a dirhandle.  Check your control flow.
-(TBT)
+(W io) 閉じようとしたディレクトリハンドルは既に閉じられているか、実際には
+ディレクトリハンドルではありませんでした。
+制御フローをチェックしてください。
 
 =item Code missing after '/'
 
@@ -9094,7 +9094,11 @@
 
 =end original
 
-=end original
+(F) A regular expression comment must be terminated by a closing
+parenthesis.  Embedded parentheses aren't allowed.  The <-- HERE shows in
+the regular expression about where the problem was discovered. See
+L<perlre>.
+(TBT)
 
 =item Sequence (?{...}) not terminated or not {}-balanced in regex; marked by <-- HERE in m/%s/
 
Index: docs/perl/5.10.0/perlfaq6.pod
diff -u docs/perl/5.10.0/perlfaq6.pod:1.5 docs/perl/5.10.0/perlfaq6.pod:1.6
--- docs/perl/5.10.0/perlfaq6.pod:1.5	Fri Jun 13 03:34:57 2008
+++ docs/perl/5.10.0/perlfaq6.pod	Sun Jun 29 04:38:57 2008
@@ -1599,15 +1599,13 @@
 
 =end original
 
-For each line, the C<PARSER> loop first tries to match a series
-of digits followed by a word boundary.  This match has to
-start at the place the last match left off (or the beginning
-of the string on the first match). Since C<m/ \G( \d+\b
-)/gcx> uses the C<c> flag, if the string does not match that
-regular expression, perl does not reset pos() and the next
-match starts at the same position to try a different
-pattern.
-(TBT)
+それぞれの行において、C<PARSER> ループはまず数字の列に引き続く単語境界に
+マッチングしようと試みます。
+このマッチングは直前のマッチングが行われた場所(最初のマッチングの場合は
+文字列の先頭)から始められなければなりません。
+C<m/ \G( \d+\b )/gcx> は C<c> フラグを使っているので、もし文字列がこの
+正規表現にマッチングしなければ、perl は pos() をリセットせず、次の
+マッチングは、他のパターンを試す場合でも同じ位置から開始します。
 
 =head2 Are Perl regexes DFAs or NFAs?  Are they POSIX compliant?
 X<DFA> X<NFA> X<POSIX>
Index: docs/perl/5.10.0/perlfaq8.pod
diff -u docs/perl/5.10.0/perlfaq8.pod:1.5 docs/perl/5.10.0/perlfaq8.pod:1.6
--- docs/perl/5.10.0/perlfaq8.pod:1.5	Fri Jun 13 03:34:57 2008
+++ docs/perl/5.10.0/perlfaq8.pod	Sun Jun 29 04:38:57 2008
@@ -1149,11 +1149,11 @@
 
 一緒に配布されたモジュールや CPAN にあるモジュールをチェックすることを
 忘れないでください--誰かが求めるモジュールを既に作っているかもしれません。
-On
-Windows, try Win32::API.  On Macs, try Mac::Carbon.  If no module
-has an interface to the C function, you can inline a bit of C in your
-Perl source with Inline::C.
-(TBT)
+Windows では、Win32::API を試してください。
+Mac では、Mac::Carbon を試してください。
+C 関数へのインターフェースを持つモジュールがなければ、
+Inline::C を使って Perl のソースコードにちょっとした C のコードを
+インライン化できます。
 
 =head2 Where do I get the include files to do ioctl() or syscall()?
 
Index: docs/perl/5.10.0/perlfaq9.pod
diff -u docs/perl/5.10.0/perlfaq9.pod:1.5 docs/perl/5.10.0/perlfaq9.pod:1.6
--- docs/perl/5.10.0/perlfaq9.pod:1.5	Sat Jun 14 06:05:15 2008
+++ docs/perl/5.10.0/perlfaq9.pod	Sun Jun 29 04:38:57 2008
@@ -114,9 +114,10 @@
 "Parsed Header" スクリプトはい色々な側面においてより単純です。
 The CGI specification allows any of the
 usual newline representations in the CGI response (it's the server's
-job to create an accurate HTTP response based on it). So "\n" written in
-text mode is technically correct, and recommended. NPH scripts are more
-tricky: they must put out a complete and accurate set of HTTP
+job to create an accurate HTTP response based on it).
+従って "\n" をテキストモードで書くのは技術的に正しく、推奨されています。
+NPH スクリプトではより微妙です:
+they must put out a complete and accurate set of HTTP
 transaction response headers; the HTTP specification calls for records
 to be terminated with carriage-return and line-feed, i.e ASCII \015\012
 written in binary mode.
@@ -369,9 +370,10 @@
 
 You can easily extract all sorts of URLs from HTML with
 C<HTML::SimpleLinkExtor> which handles anchors, images, objects,
-frames, and many other tags that can contain a URL.  If you need
-anything more complex, you can create your own subclass of
-C<HTML::LinkExtor> or C<HTML::Parser>.  You might even use
+frames, and many other tags that can contain a URL.
+もしもっと複雑なものが必要なら、自分自身で C<HTML::LinkExtor> や
+C<HTML::Parser> のサブクラスを作れます。
+You might even use
 C<HTML::SimpleLinkExtor> as an example for something specifically
 suited to your needs.
 (TBT)


perldocjp-cvs メーリングリストの案内
Back to archive index