in reply to Use of uninitialized value within
Have you looked at the values of $tmp1? Most likely, $tmp1 gets a value larger than the number of elements of @parr, and that's why you get the warning.
Update:
I found the following line instructive:
printf "%d: %d -> %s\n", $i, $tmp1, $parr[$tmp1];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Use of uninitialized value within
by gary16 (Novice) on Feb 04, 2015 at 01:23 UTC |