note
Anonymous Monk
<P><I>AH, damn it I have forgotten everything, I swear.</i>
<P>Don't you have a <B>~/learnperl/arrays/unique.pl</B> file? You should make several of that kind, here is what I have
<pre class="code"><div class="codeblock"><tt class="codetext">$ grep -i "%seen" *pl
[id://894958|cygwin.mingw.path.pl]: my %seen;
[id://911928|pm.911928.pl]: my %seen;
[id://912276|pm.912276.pl]:my %seen_header;
[id://912276|pm.912276.pl]:my %seen_subheader;
[id://900546|set.export.path.pl]: my %seen = ();
</tt></div></pre>
<P>Yes, you could refer to [Tutorials]/[doc://perlintro]/[doc://perlfaq]... [http://pleac.sourceforge.net/pleac_perl/arrays.html] , but I find I remember these things better when I type the code myself and refer to my files :)
928398
928404
7