Search results

  1. S

    Automatically download the newest daily build

    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...
  2. S

    Automatically download the newest daily build

    @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...
  3. S

    Automatically download the newest daily build

    @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
  4. S

    Automatically download the newest daily build

    Catch-22: Agreed, perl can be very hard to read at times, but something like this downloader is simple enough to understand what is going on.
  5. S

    Automatically download the newest daily build

    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...
  6. S

    Automatically download the newest daily build

    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...
Top