From 4749b3ea80a808a981d2bcd8b85278b4c9160bb0 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Fri, 25 Jun 2010 18:36:05 +0200 Subject: [PATCH] document $out, $key, $value in perl code snippets --- README | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README b/README index 0b3ea6b..14d7b0e 100644 --- a/README +++ b/README @@ -58,6 +58,10 @@ element from your dataset. If you want to create or update values, you will have to use $update hash to set new values. +If you want to report something from your dataset (also called reduce in map/reduce +terminology) you can use $out hash to store values which will be used to generate +new dataset using $key and $value for column names. + All values are repetable, but if you create just a scalar, magic(tm) inside MojoFacets will try to upgrade it to [ $scalar ] so you don't have to do it explicitly. -- 2.20.1