<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: Tmtm's Code Snippets</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Fri, 25 Jul 2008 08:22:04 GMT</pubDate>
    <description>DZone Snippets: Tmtm's Code Snippets</description>
    <item>
      <title>'uniq' array</title>
      <link>http://snippets.dzone.com/posts/show/354</link>
      <description>A much more idiomatic and efficient version of the 'uniq array' code at &lt;a href="http://www.bigbold.com/snippets/posts/show/152 "&gt;152&lt;/a&gt; is:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;  # Input: @list&lt;br /&gt;  # Output: @uniqed&lt;br /&gt;  my %seen;&lt;br /&gt;  my @uniqed = grep !$seen{$_}++, @list;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;</description>
      <pubDate>Mon, 30 May 2005 21:51:55 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/354</guid>
      <author>TMtm (Tony Bowden)</author>
    </item>
  </channel>
</rss>
