AI-MegaHAL
view release on metacpan or search on metacpan
AI::MegaHAL is based on the 9.1.0 release of MegaHAL with some modifications.
MegaHAL project (stalled):
http://megahal.alioth.debian.org/
(previous:
http://www.sourceforge.net/projects/megahal/
http://megahal.sourceforge.net/
)
To read about the latest features, see the Changes file.
The author invites feedback on AI::MegaHAL. If you find a bug, please send the
information described in the BUGS section below.
2) INSTALLATION
---------------
To install this module type the following:
libmegahal.c view on Meta::CPAN
/*
* Function: Delay
*
* Purpose: Display the string to stdout as if it was typed by a human.
*/
void delay(char *string)
{
register int i;
/*
* Don't simulate typing if the feature is turned off
*/
if(typing_delay==FALSE) {
fprintf(stdout, string);
return;
}
/*
* Display the entire string, one character at a time
*/
for(i=0; i<(int)strlen(string)-1; ++i) typein(string[i]);
( run in 0.250 second using v1.01-cache-2.11-cpan-4d50c553e7e )