in reply to Re: Use of uninitialized value within
in thread Use of uninitialized value within
As a side note, you probably shouldn't use printf if print will do (there's no templating in your string), it seems odd that you are both concatenating and interpolating, and why use the baby carriage operator and a slice when a value would be equivalent; why not justprintf $parr[$tmp1]." - $i= @{ [ @PC1[$i] ] } tmp1=$tmp1\n";
print "$parr[$tmp1] - $i= $PC1[$i] tmp1=$tmp1\n";
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Use of uninitialized value within
by gary16 (Novice) on Feb 04, 2015 at 01:18 UTC |