wrap the Naked Singles
Then just wrap the Naked Singles loops in a sub named solve. Pass in a $sobj and config details.
continued...sudoku | Puzzling in Perl | #23 |
Then just wrap the Naked Singles loops in a sub named solve. Pass in a $sobj and config details.
continued...