Hi Rich, On Tuesday 28 September 2010 17:10:30 Richard Green wrote: > What would be the quickest , easiest way to remove duplicates from a hash? > Any suggestions are muchly appreciated. Thanks > -Rich
What do you mean by "duplicates from a hash"? A hash cannot have duplicate keys. If you do: $hash{'name'} = "Foo"; And then: $hash{'name'} = "Bar"; Then you won't have two 'name' keys - only one whose value will be "Bar". See: http://perl-begin.org/topics/hashes/ Regards, Shlomi Fish -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ What Makes Software Apps High Quality - http://shlom.in/sw-quality <rindolf> She's a hot chick. But she smokes. <go|dfish> She can smoke as long as she's smokin'. Please reply to list if it's a mailing list post - http://shlom.in/reply . -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/