Skip to content

Commit

Permalink
Oh, oops. I was thinking 'use 5.12.1' did 'use warnings', but it only…
Browse files Browse the repository at this point in the history
… does 'use strict'.

It's 'use Moose' which usually gives me 'use warnings', but ENOMOOSE  :)
  • Loading branch information
jhannah committed Apr 2, 2013
1 parent d874a57 commit 3cea405
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ne.gov/go.pl
Expand Up @@ -3,6 +3,7 @@
# Repo: https://github.com/jhannah/sandbox/tree/master/ne.gov

use 5.12.1;
use warnings; # since there's no use Moose; in here (weird, right? ;)
use XML::Twig;
use GraphViz2;

Expand All @@ -23,15 +24,15 @@
$twig->parsefile($file);
my $root = $twig->root;
# ------------------------------------------
my $file = "$dir/serverQueuemap.xml";
$file = "$dir/serverQueuemap.xml";
say "Parsing $file...";
my $twig = XML::Twig->new(
$twig = XML::Twig->new(
twig_handlers => {
workerQueue => \&process_worker_queue,
},
);
$twig->parsefile($file);
my $root = $twig->root;
$root = $twig->root;
# ------------------------------------------
$file = "map.png";
say "Writing $file...";
Expand Down

0 comments on commit 3cea405

Please sign in to comment.