in reply to Re^3: How to calculate the column and print it in pie chart format using perl?
in thread How to calculate the column and print it in pie chart format using perl?
How the $table is used here without any pre declaration.After changing it to while(my $r=$sth->fetchall_hashref;) what does the following line denotes: for my $r (@$table) { my $name='other'; for my $s (@sys){ if ($r->{queue_name}=~m/$s/i) {$name=$s; last;} }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: How to calculate the column and print it in pie chart format using perl?
by marioroy (Prior) on Mar 23, 2017 at 06:05 UTC | |
by finddata (Sexton) on Mar 23, 2017 at 06:39 UTC | |
|
Re^5: How to calculate the column and print it in pie chart format using perl?
by huck (Prior) on Mar 23, 2017 at 05:10 UTC | |
by finddata (Sexton) on Mar 23, 2017 at 05:14 UTC |