| Acme-Siteswap documentation | view source | Contained in the Acme-Siteswap distribution. |
Acme::Siteswap - Provide information about Juggling Siteswap patterns
use Acme::Siteswap;
my $siteswap = Acme::Siteswap->new(
pattern => '53142',
balls => 3,
);
print "Awesome!\n" unless $siteswap->valid;
Create a new Acme::Siteswap object.
Options:
Mandatory. The siteswap pattern. Should be a series of throws.
Mandatory. The number of balls in the pattern.
Determines if the specified pattern is valid.
Returns an error message or empty string.
Luke Closs, <cpan at 5thplane dut com>
Multiplex support by Seamus Campbell, <conform at deadgeek rot com
Please report any bugs or feature requests to
bug-acme-siteswap at rt.cpan.org, or through the web interface at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Acme-Siteswap.
I will be notified, and then you'll automatically be notified of progress on
your bug as I make changes.
Copyright 2007 Luke Closs, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Acme-Siteswap documentation | view source | Contained in the Acme-Siteswap distribution. |