Subject: | The filename parameter to new() has no effect |
my $fn = 'puz.txt';
io->file($fn)->print($s);
my $sud = Games::Sudoku::CPSearch->new($fn);
$sud->set_puzzle($s);
$sum += substr( scalar( $sud->solve() ), 0, 3 );
without the set_puzzle() call - it fails.