Perl
Perl(パール)とは、ラリー・ウォールによって開発されたプログラミング言語である。実用性と多様性を重視しており、C言語やsed、awk、シェルスクリプトなど他のプログラミング言語の優れた機能を取り入れている。 ---
Wikipedia
posts
@114741-210517
以下は当然、エラーになる。
use strict; $x = 1;
ところがこれはなぜかエラーにならない。
use strict; $a = 1;
これが理由だそうだ。
Because of their special use by sort(), the variables $a and $b are exempted from this check.
こんな、Perlのある種のいいかげんさが好きか嫌いかで、Perlを使うか使わないかが決まるような気もする。
use strict; $x = 1;
ところがこれはなぜかエラーにならない。
use strict; $a = 1;
これが理由だそうだ。
Because of their special use by sort(), the variables $a and $b are exempted from this check.
こんな、Perlのある種のいいかげんさが好きか嫌いかで、Perlを使うか使わないかが決まるような気もする。
21/05/03