JackTheRussel
Programmer
Hi.
I have little problem:
If I try to do like this:
I get error:
Scalar value @results[$i] better written as $results[$i] at ./test.pl line 12.
And If I try to do like complier proposes
Then I get error:
Use of implicit split to @_ is deprecated at ./test.pl line 12.
So what I must do that I don't get any errors ?
Thanks !
I have little problem:
If I try to do like this:
Code:
for (my $i=0; $i<@table; $i++){
@results[$i] = split /\./, $table[$i];
}
I get error:
Scalar value @results[$i] better written as $results[$i] at ./test.pl line 12.
And If I try to do like complier proposes
Code:
$results[$i] = split /\./, $table[$i];
Then I get error:
Use of implicit split to @_ is deprecated at ./test.pl line 12.
So what I must do that I don't get any errors ?
Thanks !