#!/usr/bin/perl -w $baseurl = 'http://kisskb.ellerman.id.au/kisskb'; $branch = '9'; $basedir = "branch$branch"; $htmlfile = "branch$branch.html"; system("wget $baseurl/branch/$branch/ -O $htmlfile"); mkdir($basedir); open(IN, $htmlfile) or die "Cannot open $htmlfile"; while ($line = ) { last if $line =~ /Disabled targets/; if ($line =~ m{/compiler/}) { $line = ; ($compiler) = $line =~ /[\s]+([a-z0-9_-]+)([a-z0-9_-]+)