ktats****@users*****
ktats****@users*****
2014年 4月 17日 (木) 19:47:54 JST
Index: docs/articles/qntm.org/files/perl/perl.html diff -u docs/articles/qntm.org/files/perl/perl.html:1.19 docs/articles/qntm.org/files/perl/perl.html:1.20 --- docs/articles/qntm.org/files/perl/perl.html:1.19 Thu Apr 17 10:29:38 2014 +++ docs/articles/qntm.org/files/perl/perl.html Thu Apr 17 19:47:53 2014 @@ -114,7 +114,7 @@ <p class="original">Perl variables come in three types: <i>scalars</i>, <i>arrays</i> and <i>hashes</i>. Each type has its own <i>sigil</i>: <code>$</code>, <code>@</code> and <code>%</code> respectively. Variables are declared using <code>my</code>, and remain in scope until the end of the enclosing block or file.</p> -<p>Perlã®å¤æ°ã«ã¯æ¬¡ã®3ã¿ã¤ãããã¾ã: <i>ã¹ã«ã©</i>ã<i>é å</i>ã <i>ããã·ã¥</i>ã§ã. ããããã®ã¿ã¤ãã«ã¯ãèªèº«ã®<i>ã·ã¸ã«(sigil)</i>ãããã¾ã: ããããã<code>$</code>, <code>@</code> and <code>%</code>ã å¤æ°ã¯<code>my</code>ã§å®£è¨ããããããã¯ãï½ã¤ã«ã®æå¾ã¾ã§ã¹ã³ã¼ãå ã«æ®ãã¾ãã</p> +<p>Perlã®å¤æ°ã«ã¯æ¬¡ã®3ã¿ã¤ãããã¾ã: <i>ã¹ã«ã©</i>ã<i>é å</i>ã <i>ããã·ã¥</i>ã§ã. ããããã®ã¿ã¤ãã«ã¯ãèªèº«ã®<i>ã·ã¸ã«(sigil)</i>ãããã¾ã: ããããã<code>$</code>, <code>@</code> and <code>%</code>ã å¤æ°ã¯<code>my</code>ã§å®£è¨ããããããã¯ããã¡ã¤ã«ã®æå¾ã¾ã§ã¹ã³ã¼ãå ã«æ®ãã¾ãã</p> <h3 class="original">Scalar variables</h3> @@ -267,7 +267,7 @@ <p class="original">There is no collision between a scalar <code>$var</code> and an array <code>@var</code> containing a scalar entry <code>$var[0]</code>. There may, however, be reader confusion, so avoid this.</p> -<p>ã¹ã«ã©<code>$array</code>ã¨ã¹ã«ã©ã®ã¨ã³ããª<code>$var[0]</code>ãæã¤é å<code>@var</code>ã¯è¡çªãã¾ããã ã¨ã¯ãããã³ã¼ããèªã人ãæ··ä¹±ãã¾ãã®ã§ãåãååãä»ããã®ã¯é¿ãã¾ãããã</p> +<p>ã¹ã«ã©<code>$var</code>ã¨ã¹ã«ã©ã®ã¨ã³ããª<code>$var[0]</code>ãæã¤é å<code>@var</code>ã¯è¡çªãã¾ããã ã¨ã¯ãããã³ã¼ããèªã人ãæ··ä¹±ãã¾ãã®ã§ãåãååãä»ããã®ã¯é¿ãã¾ãããã</p> <p class="original">To get an array's length:</p> <p>é åã®é·ããå¾ãã«ã¯:</p>