Games::Nonogram::Loader::File
use Games::Nonogram::Loader::File; my ($h, $w, @lines) = Games::Nonogram::Loader::File->load( $file );
This is used internally to load puzzle data from a file.
In short, a file like below
# row clues 1 3 1,1,1 3 1 # column clues 1 1,1 5 1,1 1
would produce a puzzle like below.
__X__ _XXX_ X_X_X _XXX_ __X__
takes a filename as an argument and reads its data.
Kenichi Ishigaki, <ishigaki at cpan.org>
Copyright 2007 by Kenichi Ishigaki
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Games::Nonogram, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Games::Nonogram
CPAN shell
perl -MCPAN -e shell install Games::Nonogram
For more information on module installation, please visit the detailed CPAN module installation guide.