SyntaxFix
Write A Post
Hire A Developer
Questions
You can use Data::Dump:
Data::Dump
use Data::Dump qw(dump); my @a = (1, [2, 3], {4 => 5}); dump(@a);
Produces:
"(1, [2, 3], { 4 => 5 })"