All pastes #254036 Raw Edit

Someone

public text v1 · immutable
#254036 ·published 2006-11-21 12:25 UTC
rendered paste body
#!/usr/bin/env perl

Perl || die;
use LWP::Simple;
use HTML::TableExtract;
use strict;

my $content;
$content=get("http://motd.kansok.com/?langID=1&opened=.11&catID=11&csort=&sort=m.insdate%20DESC");
my $te;
$te = HTML::TableExtract->new( depth => 1, count => 1 );
$te->parse($content);
foreach my $ts ($te->table_states) {
  foreach my $row ($ts->rows) {
    if(defined($row->[2])) {
      if(ord($row->[2]) ne 160) {
        printf("BLA: %s\n", $row->[2]);
      }
    }
  }
}