eatr
Technical User
- Jan 20, 2006
- 48
looking for help in passing an array to the
GD::GRAPH function $graph->set_legend(@legend_keys);
passing the array as shown returns pointers to memory addresses.
for my $k ( 0 .. $#legends_keys) { # size
$graph->set_legend (@{$legends_keys[$k]});
}
returns ONLY the last value (at S#legends_keys) in the array
help
GD::GRAPH function $graph->set_legend(@legend_keys);
passing the array as shown returns pointers to memory addresses.
for my $k ( 0 .. $#legends_keys) { # size
$graph->set_legend (@{$legends_keys[$k]});
}
returns ONLY the last value (at S#legends_keys) in the array
help