| AI-General documentation | Contained in the AI-General distribution. |
AI::General - A general-purpose artificial intelligence
use AI::General; AI::General->dwim( "Prove NP != P" ) or die $AI::General::excuse;
This module is a general purpose artificial intelligence. It consists of one method, dwim ('Do what I mean'), which can take any number of arguments.
Implement dwim()
Cheers to Santiago Dala for suggesting the constructor implementation
Maciej Ceglowski, <maciej@ceglowski.com>
perl.
| AI-General documentation | Contained in the AI-General distribution. |
package AI::General; use 5.008; use strict; use warnings; our $VERSION = '0.01'; sub new { my ( $class ) = @_; my $self = bless [], $class; $self->dwim( "Implement self" ); return $self; } sub dwim { my ( $self, $args ) = @_; #... TO DO } 1; __END__