in reply to Re^2: Problem with doubles results
in thread Problem with doubles results
outside of the foreach loop. Or are you just wanting to do something like:%hash = ( "info" => $json_msg); push( @updated_data, \%hash );
?foreach my $res (@$result) { my ($name, $country, $gender) = @$res; push @updated_data, {info => "<p>$name $country $gender</p>"}; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Problem with doubles results
by frank1 (Monk) on May 17, 2024 at 20:39 UTC |