why not use Carp::Assert :die "ASSERT( $row, $col )" unless Crd2Index( $row, $col ) < Squared;
use Carp::Assert; ... assert(Crd2Index( $row, $col ) < Squared, "Crd2Index( $row, $col ) < Squared") if DEBUG;
Also see Gratuitous use of Perl Prototypes
In reply to Re: Sudoku generator
by Arunbear
in thread Sudoku generator
by Adam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |