Help for this page

Select Code to Download


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