From 0b093e201d4c25d31d07bed467f644dbbf749910 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 12 Oct 2011 22:49:05 +0100 Subject: [PATCH] Fixed to work with Ubuntu's XML::TreeBuilder --- bin/mkgeo | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/mkgeo b/bin/mkgeo index 7f80e98..880b2d5 100755 --- a/bin/mkgeo +++ b/bin/mkgeo @@ -15,7 +15,9 @@ my $servers = YAML::LoadFile("src/${source}"); my %countries = (); -my $countries = XML::TreeBuilder->new->parsefile("lib/countries.xml"); +my $countries = XML::TreeBuilder->new; + +$countries->parsefile("lib/countries.xml"); foreach my $country ($countries->look_down("_tag" => "country")) { -- 2.43.2