<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1032777" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1032777</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/map-function-perl#comment-1192804</link>
    <description> &lt;p&gt;If you can, post the code you&#039;re working with. That would help us help you better.&lt;/p&gt;
 </description>
     <pubDate>Tue, 07 Feb 2006 16:44:31 +0000</pubDate>
 <dc:creator>timjpriebe</dc:creator>
 <guid isPermaLink="false">comment 1192804 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/map-function-perl#comment-1192753</link>
    <description> &lt;p&gt;to check if an element is in the array already, check it using in_array first, only insert if it returns false (&lt;a href=&quot;http://us2.php.net/in_array&quot; class=&quot;bb-url&quot;&gt;http://us2.php.net/in_array&lt;/a&gt;).  Also, if you want to get rid of duplicate entries, you can run array_unique to return only one of each element in the array. (&lt;a href=&quot;http://us2.php.net/array_unique&quot; class=&quot;bb-url&quot;&gt;http://us2.php.net/array_unique&lt;/a&gt;)&lt;/p&gt;
 </description>
     <pubDate>Tue, 07 Feb 2006 02:57:51 +0000</pubDate>
 <dc:creator>MyFreeCounter</dc:creator>
 <guid isPermaLink="false">comment 1192753 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/map-function-perl#comment-1191843</link>
    <description> &lt;p&gt;&lt;a href=&quot;http://perldoc.perl.org/functions/map.html&quot; class=&quot;bb-url&quot;&gt;Map&lt;/a&gt; is used to run parameters through a given expression (could be a function, for example).  You could probably write a solution to test for duplicates yourself using map, but that would be reinventing the wheel.&lt;/p&gt;
&lt;p&gt;I gather you are trying to make what&#039;s called a &#039;set&#039;, which is a list containing no duplicate entries.  You can use Ron Savage&#039;s &lt;a href=&quot;http://search.cpan.org/dist/Set-Array/lib/Set/Array.pm&quot; class=&quot;bb-url&quot;&gt;Set::Array module&lt;/a&gt; to do things with your arrays to make sets or identify duplicates or whatever you need specifically.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 28 Jan 2006 03:53:55 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1191843 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
