On Mon, 29 Dec 2003 09:14, Leopold Toetsch wrote;

  > I'd use a custom hash with the PMC address being the key[1]. /Me
  > thinks, it doesn't help, when a PMC gets registered multiple times
  > - its always the same address - removing it multiple times is
  > fine, the first succeeds, following fail silently, they do
  > nothing.

This is exactly what Set::Object does for Perl 5, FWIW.  It's fairly
nice, clean XS - and much faster for the purpose than using a normal
HV structure (again, in Perl 5 :)).
-- 
Sam Vilain, [EMAIL PROTECTED]

$h=$ENV{HOME};@q=split/\n\n/,`cat $h/.quotes`;$s="$h/.s"
."ignature";$t=`cat $s`;print$t,"\n",$q[rand($#q)],"\n";

Reply via email to