> My abridged code is below. What am I doing wrong, please? I can't
Without any data it's hard to tell, but there are a few things that could be a problems.see it.
First off, you haven't used strctures or -w.
Declare your variabes with my() contructs.
foreach $i (1..scalar(@question)) {
perhaps this should be (hard to tell without seing the data) > foreach $i (0..scalar(@question)-1) {
$these_rows=$question_values[$i];
...
I assume that @question_values contains numeric values for each $question[n] - this could be the cause of your trouble. (hard to tell without seing the data)foreach $fg (0..($these_rows)-1) {
$columnar_chart_value="value_"."$i"."_"."$inner_counter"."_"."$counter";
At no point do you declare or set $counter. The final curly bracket is unmatched - perhaps a cut and pace problems? -- Simon Oliver _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs