Added some tests for Survey visualization

This commit is contained in:
Patrick Donelan 2009-05-11 11:06:55 +00:00
parent b12906a777
commit 9e2cdeca13
2 changed files with 23 additions and 2 deletions

View file

@ -618,7 +618,11 @@ sub graph {
my $method = "as_$format";
$g->$method($path);
return $storage->getUrl($filename);
if (wantarray) {
return ( $storage, $filename);
} else {
return $storage->getUrl($filename);
}
}
#-------------------------------------------------------------------