in reply to Union of arrays
You already have correct answers. I like to do it like this:
my (%hsh, @union_arr); @hsh{@arr_in_1, @arr_in_2} = (); @union_arr = keys %hsh;
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Union of arrays
by thpfft (Chaplain) on Oct 26, 2002 at 12:06 UTC |