ktats****@users*****
ktats****@users*****
2014年 4月 17日 (木) 19:50:00 JST
Index: docs/articles/qntm.org/files/perl/perl.html diff -u docs/articles/qntm.org/files/perl/perl.html:1.20 docs/articles/qntm.org/files/perl/perl.html:1.21 --- docs/articles/qntm.org/files/perl/perl.html:1.20 Thu Apr 17 19:47:53 2014 +++ docs/articles/qntm.org/files/perl/perl.html Thu Apr 17 19:50:00 2014 @@ -288,7 +288,7 @@ </pre> <p class="original"><strong>Caution.</strong> One day you will put somebody's email address inside a string, <code>"jeff****@gmail*****"</code>. This will cause Perl to look for an array variable called <code>@gmail</code> to interpolate into the string, and not find it, resulting in a runtime error. Interpolation can be prevented in two ways: by backslash-escaping the sigil, or by using single quotes instead of double quotes.</p> -<p><strong>注æã</strong> ããæ¥ã誰ãã®ã¡ã¼ã«ã¢ãã¬ã¹ã<code>"jeff****@gmail*****"</code>ãæååã«å ¥ããã¨ãã¾ãã ããã¯ãPerlã«<code>@gmail</code>ã¨ããé åå¤æ°ãæ¢ãããæååã®éã«å ¥ãããã¨ãã¾ãããããè¦ã¤ãããªããã°ãã¨ã©ã¼ã«ãªãã¾ããå¤æ°ã®å±éãé²ãã«ã¯2ã¤ã®æ¹æ³ãããã¾ã:ã·ã¸ã«ãã¨ã¹ã±ã¼ããããã¾ã¦ãããããã«ã¯ã©ã¼ãã®ä»£ããã«ã·ã³ã°ã«ã¯ã©ã¼ãã使ãã</p> +<p><strong>注æã</strong> ããæ¥ã誰ãã®ã¡ã¼ã«ã¢ãã¬ã¹ã<code>"jeff****@gmail*****"</code>ãæååã«å ¥ããã¨ãã¾ãã ããã¯ãPerlã«<code>@gmail</code>ã¨ããé åå¤æ°ãæ¢ãããæååã®éã«å ¥ãããã¨ãã¾ãããããè¦ã¤ãããªããã°ãã¨ã©ã¼ã«ãªãã¾ããå¤æ°ã®å±éãé²ãã«ã¯2ã¤ã®æ¹æ³ãããã¾ã:ã·ã¸ã«ãã¨ã¹ã±ã¼ããããã¾ãã¯ãããã«ã¯ã©ã¼ãã®ä»£ããã«ã·ã³ã°ã«ã¯ã©ã¼ãã使ãã</p> <pre class="prettyprint lang-perl"> print "Hello \$string"; # "Hello $string"