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

Re: [MacPerl] testing



On Wed, 15 Dec 1999 00:12:33 -0800, Bruce Van Allen wrote:

>[ NOTE: Too bad we can't do this:
>    keys %test = ($a, $b, $c, $d);  ]

You can do this:

	@test{$a, $b, $c, $d} = ();

but that will make the value of all those keys undef (false). You must
test presence of a key in the hash with exist().

-- 
	Bart.

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