strictures
Why doesn't Perl's strict warn about an undeclared $a?
Can someone please explain to me the below code. This behavior has been like this for a while (tested on 5.8.5, 5.8.8, 5.10.1, 5.12.2) so there must be a reason behind it?[详细]
2023-01-15 04:17 分类:问答Why doesn't Perl's strictures complain about an undeclared $a?
Why is 开发者_如何学Cthere no error issued by strict: use strict; $a = $a + 1; $a and $b are special globals used by sort, so they\'re always defined.Try it with $c instead and you will get an error[详细]
2022-12-22 17:03 分类:问答