in reply to Re: How to connect more arrays to a new array
in thread Find unique elements from multiple arrays
Perhaps a solution would be to use the values instead of the keys, but this means that all the data is copied about again, and so is highly unlikely to be the most efficient approach.
Adapted from BrowserUk's codemy @new = do{local %h; @h{@a,@b,@c,@d} = (@a,@b,@c,@d); values %h};
--
integral, resident of freenode's #perl
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How to connect more arrays to a new array
by Abigail-II (Bishop) on Apr 28, 2003 at 10:00 UTC |
In Section
Seekers of Perl Wisdom