Just a simple [cpan.org] guy, hacking Perl for fun and profit since way back in the last millenium. You may find me hanging around in the monestary [perlmonks.org].
What am I working on right now? Probably the Sprog project [sourceforge.net].
GnuPG key Fingerprint:
6CA8 2022 5006 70E9 2D66
AE3F 1AF1 A20A 4CC0 0851
perl -nle '/(.*?)(us)$/ && print "http://$1.$2"'
/usr/share/dict/words
Open the urls! (Score:1)
My first find was http://zygomatic.us/ [zygomatic.us]
#!perl -w
use strict;
use Socket;
use LWP::Simple qw(head);
$| = 1;
open my $fh, ';
close $fh;
print "Found ".@words." candidates\n";
while (@words
Re:Open the urls! (Score:1)
#!perl -w
use strict;
use Socket;
use LWP::Simple qw(head);
$| = 1;
open my $fh, '<', '/usr/share/dict/words';
my @words = grep {/us$/m}
close $fh;
print "Found ".@words." candidates\n";
while (@words > 0) {
my $word = splice @words, int(rand scalar @words), 1;
(my $host = $word) =~ s/us\s*\z/.us/s;
print '.';
next if (!inet_aton($host));
my $url = "http