NAME
Math::Abacus - A toy model of Chinese abacus
VERSION
Version 0.02
SYNOPSIS use Math::Abacus;
Math::Abacus->num_of_digits(4);
my $abacus = Math::Abacus->new(460);
$abacus->add(1);
$abacus->subtract(5);
$abacus->show();
# PRINT
+-+-+-+-+-+
| x x x x |
| x x | | |
| | | x x |
+-+-+-+-+-+
| | x | x |
| x x x | |
| x x x x |
| x x x x |
| x | x x |
| x x x x |
+-+-+-+-+-+
METHODS
show
add
subtract
AUTHOR
Cheok-Yin Fung, <fungcheokyin at gmail.com>
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Math::Abacus
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
CPAN Ratings
Search CPAN
LICENSE AND COPYRIGHT
This software is Copyright (c) 2022 by Cheok-Yin Fung.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)