The output transformations are echo, die, csv, and describe.
echo
die
echo
and die
take an arbitrary number of arguments, perform global
replacement on them, and then print the result. Die uses Perl's die command to
print the result on stderr and execution halts.
csv
describe
describe(["NAME", "MEAN"]);
when applied to descrel
prints out the following table:
NAME MEAN fruzzles 16 widgets 3
The value of each part of the table is determined by performing column
replacement on the variable $globals{'colexpr'}->{$colname}
.
For more information on replacement, See Replacements. This gives
you quite a bit of power when deciding what to print.
There are three other global parameters that control the describe output: spacing, delimiter, and precision. spacing determines the number of spaces between each column. If set to zero, there are no spaces between each column (e.g., fruzzles16). If delimiter is set, then it is printed between each column. For example, if delimiter is , and spacing is zero, the first row would be fruzzles,16. The final value of interest is precision, which specifies how many digits after the decimal point are printed for floating point values.
The set transformation can be used to set spacing, delimiter, and precision.
To set values in the colexpr hash, you should use "eval" to modify individual
elements or "seteval" to replace the whole hash.
dump