Regexp-Sudoku
view release on metacpan or search on metacpan
}
print "\n";
}
say " # ";
}
sub run_sudoku ($file) {
#
# First, slurp in the file
#
my $test = do {local (@ARGV, $/) = ($file); <>};
my @chunks = split /\n==\n/ => $test;
#
# First one is always the sudoku.
#
my $clues = shift @chunks;
#
# Find a solution
#
( run in 0.510 second using v1.01-cache-2.11-cpan-49f99fa48dc )