Prev Gedcom.pm - Manipulating Genealogical Information Next

Searching and Sorting

     for my $n ( map { qr/^$_$/, qr/\b$_\b/, $_ } map { $_, qr/$_/i } qr/\Q$name/ )
     {
         push @i, $ordered->($n, @ind);
         return $i[0] if !$all && @i;
     }


Slide 16 YAPC::Europe::2003 Copyright © 2003 Paul Johnson