Put it on CPAN ... then we can go back to the Slashdot article and say it's now a two-liner in Perl:
cpan -i Puzzle::KnightsTour perl -MPuzzle::KnightsTour -e 'Puzzle::KnightsTour::solve(SIZE, START_ +X, START_Y)'
(Yes, yes, I know; CPAN is for useful stuff. I'm being silly ... mostly)
In reply to Re: Knight's Tour Problem in Perl
by ggvaidya
in thread Knight's Tour Problem in Perl
by ptoulis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |