|
Hi, I was wondering what method would work best for building the graph dynamically for this module. I have tried varying things, and it hasn't worked.
Specifically, how do you replace the hard coded node information in the example with passing in a variable that contains a dynamically built list of nodes?
I have tried building both arrays and scalars dynamically, e.g. $pr_nodes, or @pr_nodes, and then calling $pr->graph($pr_nodes) or $pr-graph->(@pr_nodes) and they both fail.
Any help would be appreciated.
Thanks.
|