in reply to Re^2: Let's unite sets
in thread Let's unite sets

Oh, yes, quite sure. It's called a "hash slice". You can look it up. :-)

In a nutshell: Let's say you have an array @a; then doing

@h{@a} = @a;
is the same as doing
for ( @a ) { $h{$_} = $_; }

Replies are listed 'Best First'.
Re^4: Let's unite sets
by songahji (Friar) on Apr 05, 2005 at 19:10 UTC
    kewl!