summaryrefslogtreecommitdiff
path: root/lib/VNDB/DB/Misc.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/VNDB/DB/Misc.pm')
-rw-r--r--lib/VNDB/DB/Misc.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VNDB/DB/Misc.pm b/lib/VNDB/DB/Misc.pm
index 50a12a4b..61b1223c 100644
--- a/lib/VNDB/DB/Misc.pm
+++ b/lib/VNDB/DB/Misc.pm
@@ -13,6 +13,7 @@ our @EXPORT = qw|
# Arguments: array of elements to get stats from, options:
# vn, producers, releases, users, threads, posts
# Returns: hashref, key = element, value = number of entries
+# TODO: caching, see http://www.varlena.com/GeneralBits/120.php
sub dbStats {
my $s = shift;
return { map {