my %hash = map { $_ => 1 } @pclist;
above is wrong.It should be: my %hash = map { $_, 1 } @pclist; HTH. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>