- or download this
for ( $thread ) {
my %data2;
...
$data2{content} = $thread->content;
push @d_body, \%data2;
}
- or download this
push @d_body, {};
$d_body[-1]->{$_} = $thread->$_ for ("author", "date", "content");
- or download this
my $d_body;
$d_body->{$_} = $thread->$_ for ("author", "date", "content");
- or download this
body=> [$d_body],