Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Sudoku generator

by Arunbear (Prior)
on Aug 05, 2005 at 09:28 UTC ( #481151=note: print w/replies, xml ) Need Help??


in reply to Sudoku generator

Instead of
die "ASSERT( $row, $col )" unless Crd2Index( $row, $col ) < Squared;
why not use Carp::Assert :
use Carp::Assert; ... assert(Crd2Index( $row, $col ) < Squared, "Crd2Index( $row, $col ) < Squared") if DEBUG;

Also see Gratuitous use of Perl Prototypes

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://481151]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2018-07-23 07:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (459 votes). Check out past polls.

    Notices?