Acme::Flutterby - An object-oriented interface to a butterfly. In what else but Perl 6.
my $Flutterby = Flutterby->new;
This module provides a simplistic, but powerful, interface to a Butterfly.
Create a new buterfly, all by yourself! :)
A well-fed butterfly is a happy butterfly.
The Perl gods like happy butterflies.
Too much food makes a sad butterfly though. :(
No one likes a sad butterfly.
[Technical details: returns 1 for a happy hungry butterfly, and returns 0
for a big full butterfly. ]
A good butterfly trainer should play often with their butterfly,
as this makes them happy.
Butterflies get tired though, and then they don't like to play,
they need rest instead then.
[Technical details: returns 1 for a butterfly that wants to play more,
and returns for a butterfly that needs a nap. ]
Sometimes, even a big butterfly get tired.
When butterflies are tired, they need a nap to make them
feel better! But, if the butterfly isn't tired, making it
try to take a nap will make it a sad butterfly. :(
Ah, we finally have reached the last goal of all good butterflies. Sacrificing to the Perl gods.
You'd best hope your butterfly was happy enough, or death to your Perl script will come! :(
John Scoles firstname.lastname@example.org
Copyright (c) John Scoles
This module may be used, modified, and distributed under BSD license. See the beginning of this file for said license.