From 877783ccd0a0bb78c431ac5231dbcc4bf76e1c1e Mon Sep 17 00:00:00 2001 From: Elizabeth Mattijsen Date: Mon, 4 Jun 2018 14:39:41 +0200 Subject: [PATCH] Mention "dd" in the Data::Dumper section --- doc/Language/5to6-nutshell.pod6 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/doc/Language/5to6-nutshell.pod6 b/doc/Language/5to6-nutshell.pod6 index b89c8d328..d5121f214 100644 --- a/doc/Language/5to6-nutshell.pod6 +++ b/doc/Language/5to6-nutshell.pod6 @@ -1646,6 +1646,20 @@ Pair, with a key of the var name, and a value of the var value. ["foo" => 42, "bar" => 44, "baz" => [16, 32, 64, "Hike!"]] =end code +There is also a debugging aid for developers called C
(Tiny Data Dumper, +so Tiny it lost the "t"). This will print the C<.perl> representation plus +some extra information that could be introspected, of the given variables on +STDERR: + +=begin code :preamble +# PerlĀ 6 + dd $foo, $bar, @baz; +# Output + Int $foo = 42 + Int $bar = 44 + Array @baz = [16, 32, 64, "Hike!"] +=end code + =head3 C Switch parsing is now done by the parameter list of the C
subroutine.