Perl beginner seeks help

[email protected] ("Mr. low level newb of stupidity ;\)")
Newsgroups perl.beginners
Organization http://groups.google.com
Message-ID <eb3426b2-c831-4563-8130-8189f50bab72@t12g2000prg.googlegroups.com>
hello, I am a, well, not a beginner per say, but rather still a
learner of Perl. I guess you could call me a beginner. anyway, I need
some help with my robot. it is not really Perl help, but you guys
could help with the code, too. I am making a talking robot like
A.L.I.C.E., a robot designed by a guy named Richard s. Wallace, and I
am having trouble deciding what to make him know. he knows basic
stuff, and the coding is somewhat fine, but I was wondering if you
guys could help me out here. he knows how to respond to his and
hellos, also more interesting stuff like his birthday and to
understand when you say something like 'I feel like crap' or
something, but he is still kinda dumb. any advice on how to improve
him with knowledge would be appreciated.


P.S. the code for what to say and what to say it to is regular
expressions. tell me if you have a better method.
e.g.    elsif($reply =~ /\bwhat\b/ and $reply =~ /\btime\b/){
	print"I surely dont know the time.";
talk();
}
talk is the subroutine that asks for input.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.