use GD::Graph::pie; my $graph = GD::Graph::pie->new(400, 300); $graph->set( '3d' => 0, ) or die $graph->error;