Games::Sudoku::Component::Table::Permission
use Games::Sudoku::Component::Table; use Games::Sudoku::Component::Table::Permission; my $table = Games::Sudoku::Component::Table->new( perm => Games::Sudoku::Component::Table::Permission->new );
This module provides a permission table. Usually you don't have to care about this.
Creates an object. As for options, see the base class Games::Sudoku::Component::Base. Size related options are required.
Allows the value for the cell(row, column).
Denies the value for the cell(row, column). Actually the value will be held as a temporary one.
Returns an array of allowed values.
Returns true if the value is allowed for the cell(row, column).
Mainly used internally. In the verbose mode, this returns a result code and a reason/description of the code; otherwise only the code will be returned.
Clears all of the permission data.
If set true, result method will be verbose.
result
Kenichi Ishigaki, <ishigaki@cpan.org>
Copyright (C) 2006 by Kenichi Ishigaki
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Games::Sudoku::Component, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Games::Sudoku::Component
CPAN shell
perl -MCPAN -e shell install Games::Sudoku::Component
For more information on module installation, please visit the detailed CPAN module installation guide.