So people are aware i have updated the perl script as it was not working. Here is the latest code. still need WWW::Mechanize
#!/usr/bin/perl
use strict;
use warnings;
use WWW::Mechanize;
my $url = "http://builds.kolmafia.us/";
my $mech = WWW::Mechanize->new();
$mech->get( $url );
my @links...
@heeheehee Sorry I missed that part.
I have been using this script on both linux and windows for a few weeks now.
(on windows install strawberry perl from http://strawberryperl.com/, create a new text file, paste the script inside and name it kol-download.pl, put this file where you want kol...
@zeroToNine - That works on a debian based system such as ubuntu
if you are on windows or another distro of linux see if it is in your repo if it is not you can get the package from cpan
http://www.cpan.org/modules/INSTALL.html
one of my die statments caused some issues here is the revised code
#!/usr/bin/perl
use strict;
use warnings;
use WWW::Mechanize;
my $url = "http://builds.kolmafia.us/";
my $mech = WWW::Mechanize->new();
$mech->get( $url );
my @links = $mech->links();
foreach my $link (@links) {
if...
I have made a perl script to download the latest hourly build for me. This script was written for unix type system but should work on windows ( the chmod line is not needed on windows) this script needs the www:Mechanize package installed.
#!/usr/bin/perl
use strict;
use warnings;
use...