in reply to parse json

my $teamA = $results->{teams}->{home}>{name};

missing hyphen in both instances of name?

my $teamA = $results->{teams}->{home}->{name};

Replies are listed 'Best First'.
Re^2: parse json
by joyfedl (Acolyte) on Jul 12, 2025 at 15:40 UTC

    Well, thanks i have seen that and the error for using strict nolonger appears again

    Just now having a problem of printing out results because am still getting this Not an ARRAY reference at script.pl line 19.