Skip to content

Instantly share code, notes, and snippets.

@aboyle
aboyle / get_time.pl
Created September 27, 2011 02:12
Script to retrieve data from CivStats
#!/usr/bin/perl
use strict;
use Irssi;
sub getSite {
my @file = ();
open(INF, "wget -qO- http://www.civstats.com/viewgame.php?gameid=2153 |");
while(my $line = <INF>) {
chomp($line);