On Fri, Oct 20, 2000 at 02:55:36PM +1100, John Clarke wrote:
> On Fri, Oct 20, 2000 at 02:40:58PM +1100, John Ferlito wrote:
>     $format = "png";
>     print IMG $my_graph->plot(\@data)->$format();

yep it does work what I was actually doing was

print IMG $my_graph->plot(\@data)->$db_env{'format'}();

which works if I use

$format = $db_env{'format'};
print IMG $my_graph->plot(\@data)->$format();'

instead.

-- 
John

The difference between a good man and a bad one is the 
choice of cause - William James


--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to