example to produce new dataset from test.js
[MojoFacets.git] / public / code / alpha,repeatable.commit-test.pl
diff --git a/public/code/alpha,repeatable.commit-test.pl b/public/code/alpha,repeatable.commit-test.pl
new file mode 100644 (file)
index 0000000..1674a91
--- /dev/null
@@ -0,0 +1,3 @@
+foreach my $by ( @{ $row->{'alpha'} } ) {\r
+  $out->{ $by }->{ $_ }++ foreach @{ $row->{'repeatable'} };\r
+}\r