- or download this
my %incoming = &read_input; # Read information into associated
# array %incoming.
...
my $comment = $incoming{'comment'}; # Fetch the text from the array.
my $id = $incoming{'id'}; # Fetch the text from the array.
my $action = $incoming{'action'}; # Fetch the text from the array.
- or download this
my %data;
$data{'qty'} = $incoming{'qty'};
$data{'type'} = $incoming{'type'};
# etc...
- or download this
my @hashes;
push @hashes, $data;