The following module was proposed for inclusion in the Module List:
modid: Games::Sudoku::Preset
DSLIP: adpfp
description: Enter, edit, or verify Sudoku puzzles
userid: WITTROCK (Klaus Wittrock)
chapterid: 23 (Miscellaneous_Modules)
communities:
similar:
Script enter_presets.pl in application SudokuTrainer Preset.pm is a
complete rewrite of script enter_presets.pl. It will be completely
independent of application SudokuTrainer and thus may be used by any
author or user of Sudoku modules. That's why I don't like to host it
in SudokuTrainer's namespace Games::Sudoku::Trainer. I would prefer
it to be used by "use Games::Sudoku::Preset", so the start methods
may be called as my $puzzle = Games::Sudoku::Preset->enter(); my
$puzzle = Games::Sudoku::Preset->edit($game); my $puzzle =
Games::Sudoku::Preset->validate($game); In contrast to
enter_presets.pl, the start methods check for violation of the rules
for solving a Sudoku puzzle before returning (e. g. twice the same
value in a row). Errors are shown in the GUI Sudoku board by marking
the affected fields with red color. Errors may be corrected
immediately.Preset.pm is a complete rewrite of script
enter_presets.pl. It will be completely independent of application
SudokuTrainer and thus may be used by any author or user of Sudoku
modules. That's why I don't like to host it in SudokuTrainer's
namespace Games::Sudoku::Trainer. I would prefer it to be used by
"use Games::Sudoku::Preset", so the start methods may be called as
my $puzzle = Games::Sudoku::Preset->enter(); my $puzzle =
Games::Sudoku::Preset->edit($game); my $puzzle =
Games::Sudoku::Preset->validate($game); In contrast to
enter_presets.pl, the start methods check for violation of the rules
for solving a Sudoku puzzle before returning (e. g. twice the same
value in a row). Errors are shown in the GUI Sudoku board by marking
the affected fields with red color. Errors may be corrected
immediately.
rationale:
Preset.pm is a complete rewrite of script enter_presets.pl. It will
be completely independent of application SudokuTrainer and thus may
be used by any author or user of Sudoku modules. That's why I don't
like to host it in SudokuTrainer's namespace Games::Sudoku::Trainer.
I would prefer it to be used by "use Games::Sudoku::Preset", so the
start methods may be called as my $puzzle =
Games::Sudoku::Preset->enter(); my $puzzle =
Games::Sudoku::Preset->edit($game); my $puzzle =
Games::Sudoku::Preset->validate($game);
In contrast to enter_presets.pl, the start methods check for
violation of the rules for solving a Sudoku puzzle before returning
(e. g. twice the same value in a row). Errors are shown in the GUI
Sudoku board by marking the affected fields with red color. Errors
may be corrected immediately.
enteredby: WITTROCK (Klaus Wittrock)
enteredon: Thu Apr 17 08:35:06 2014 UTC
The resulting entry would be:
Games::Sudoku::
::Preset adpfp Enter, edit, or verify Sudoku puzzles WITTROCK
Thanks for registering,
--
The PAUSE
PS: The following links are only valid for module list maintainers:
Registration form with editing capabilities:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=00010000_39631a9c24795041&SUBMIT_pause99_add_mod_preview=1
Immediate (one click) registration:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=00010000_39631a9c24795041&SUBMIT_pause99_add_mod_insertit=1
Peek at the current permissions:
https://pause.perl.org/pause/authenquery?pause99_peek_perms_by=me&pause99_peek_perms_query=Games%3A%3ASudoku%3A%3APreset