Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb4e3633

Browse files
committed
Silence warning about deprecated assignment to $[ in check_keywords.pl
Alex Hunsaker
1 parent58a9596 commitb4e3633

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎src/tools/check_keywords.pl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
$path =".";
1717
}
1818

19-
$[ = 1;# set array base to 1
2019
$, ='';# set output field separator
2120
$\ ="\n";# set output record separator
2221

@@ -60,7 +59,7 @@
6059
$n = (@arr =split('',$S));
6160

6261
# Ok, we're in a keyword list. Go through each field in turn
63-
for (my$fieldIndexer =1;$fieldIndexer <=$n;$fieldIndexer++) {
62+
for (my$fieldIndexer =0;$fieldIndexer <$n;$fieldIndexer++) {
6463
if ($arr[$fieldIndexer]eq'*/' &&$comment) {
6564
$comment = 0;
6665
next;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp