Leser: 1
![]() |
|< 1 ... 4 5 6 7 >| | ![]() |
63 Einträge, 7 Seiten |
QuoteWhen you're implicitly assigning to $_ in a $_ loop, this is the global variable by that name, not one localized to the while loop.
Quote... Unlike the foreach loop we'll see in a moment, a while loop never implicitly localizes any variables in its test condition. This can have "interesting" consequences when while loops use globals for loop variables. ...
QuoteNachtrag:
Von daher seh ich dieses Verhalten ebenfalls nicht als Bug ... allenfalls als "unschönes" Feature ;o)
![]() |
|< 1 ... 4 5 6 7 >| | ![]() |
63 Einträge, 7 Seiten |