PERL - Receive JSON and render on template : I'm trying to expand some app, but I never used Perl before. This uses de framework Mojolicious. 

        use JSON::XS;
        use JSON qw( decode_json );
        my $self = shift; 
        my $req = HTTP::Request->new("GET", "https://jsonplaceholder.typicode.com/comments");
    
        my $ua = LWP::UserAgent->new(
                keep_alive => 1,
                timeout => 3000,
                ssl_opts => {
                    verify_hostname => 0,
                    SSL_verify_mode => IO::Socket::SSL::SSL_VERIFY_NONE
                },
            );
        my $response = $ua->request($req);
        my $body = $response->decoded_content();
        my $json = JSON->new();
        my $tempHash = $json->decode($body);

At the moment I tried to do something like this, however I'm kinda stuck.
The expected result would allow me to send the data (array?) to the template, in order to create a table.

    $self->stash(
            'comments' => $comments
            );
    
        $self->render('view_');
        return;

Thanks 