-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> It's pretty modular and innocuous, and is based on the current tip.

        ..and here's my attempt, using perl. It works for everything I've
thrown at it so far. I'll shim this into my spider and get some samples:

# ------------------------------------------------------------------
use strict;
my %fqdn;

my @list = ('http://perlnewbies.com/history/searchit.html',
            'http://excite.com/search.gw?c=web&lk=excite_home_us&s',
            'http://search.msn.co.uk/spbasic.htm?MT=Presidents',
            'http://search.msn.com/results.asp?RS=CHECKED&Armada',
            'http://search.yahoo.com/bin/search?p=%22Perl',
            'http://top.cswap.com:80/cat/?biblestudies',
            'http://203.47.133.209/pipermail/plucker-dev/');

foreach (@list) {
        $_ =~ s!(^.*?//)|([:/].*$)!!g;
        $fqdn{$_}++;
}

foreach my $dom (sort keys(%fqdn)) {
        print "$dom = $fqdn{$dom}\n"
}
# ------------------------------------------------------------------



d.

perldoc -qa.j | perl -lpe '($_)=m("(.*)")'

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.1.92 (GNU/Linux)

iD8DBQE9lD0skRQERnB1rkoRArLmAKCRlxuZO90fLne89tqs3LyGoqQDJwCgtVPZ
NBYOBFPrWuCtLhM0XyAHEXI=
=aHOJ
-----END PGP SIGNATURE-----

_______________________________________________
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev

Reply via email to