- or download this
Use of uninitialized value in concatenation (.) or string at first.pl
+line 5.
- or download this
foreach my $num (@arr) {
print "Index is: $num. Value is: $arr[$num] ";
}
- or download this
foreach my $num (@arr) {
print "Index is: $num. Value is: $arr[$num - 1] "; # Subtra
+ct 1 from the index
}
- or download this
for($num = 0; $num<= $#arr;$num++) {
- or download this
for (my $num = 0; ...