[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Pushing Arrays into Hashes



On Thu, 29 Jun 2000 19:18:40 -0700, by way of Vicki Brown wrote:

>for $item (@{ $hash{'key'}{array} } ) {
>	print "$item->{array_key}\n";
>}
>
>What I'm after is a way of adding another '{ array_key =>
>'array_value3', },' so that the print statement outputs:

	push @{$hash{'key'}{array}}, { array_key => 'array_value3' };

-- 
	Bart.

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org