> >> @unique = keys %{ > >> my %set; > >> @set{ @arr } = (); # fast! > >> \%set; > >> }; > > > > One question why doesn't use strict; complain about @set? > > Heh, I think I just posted about this. Unless my memory deceives me, > "@set{ @arr }" is a hash slice. That is, it's really %set (in > 'batch' mode > ;-)), which you have declared. I remember this because it > seemed so strange > at the time.
Oh right, makes sense, I never have had to use hash slices so check one off for learning somethign new today! Thanks Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]