Skip to content

Commit

Permalink
make @InFormation less of a hungry hippo
Browse files Browse the repository at this point in the history
  • Loading branch information
Kieren Diment committed Aug 31, 2009
1 parent 7d85a65 commit 5fe960e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions scrape.pl
Expand Up @@ -17,9 +17,8 @@

### Get Set
my $mech = WWW::Mechanize->new;
my @information;
my @letters = (0, 'a' .. 'z');
open my $OUT, ">", "full.yml";
unlink "full.yml";


### GO!
Expand All @@ -46,10 +45,10 @@

# bailout condition
undef $base_url if (!@gold && !@free && !@nearly_free); # nothing on this or subsequent pages for this loop.

push @information, (@gold, @free, @nearly_free);
my @information = (@gold, @free, @nearly_free);
open my $OUT, ">>", "full.yml";
print $OUT Dump(@information);

close $OUT;
}
}

Expand Down

0 comments on commit 5fe960e

Please sign in to comment.