The required list is now found in ( keys %result )my %result=(); for ( @a, @b ) { if ( $result{ $_ } ) { delete $result{ $_ }; } else { $result{ $_ } = 1; } }
One world, one people
In reply to Re: Removing array elements
by anonymized user 468275
in thread Removing array elements
by sandrider
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |