On Monday, May 20, 2002, at 08:13 , Bob Showalter wrote: >> -----Original Message----- >> From: drieux [mailto:[EMAIL PROTECTED]] >> >> #------------------------ >> # >> sub haveMap { >> my (@list) = @_; >> my %seen = (); >> >> map {$seen{$_}++} @list; > > So, is the old saw about "don't use map() in a void context" out > the window?
you will have to explain this 'old saw' to 'this old dog' as this is the first time I have heard it.... ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]