File: norsk

package info (click to toggle)
chatbot-eliza 1.04-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 244 kB
  • ctags: 50
  • sloc: perl: 910; makefile: 32
file content (14 lines) | stat: -rwxr-xr-x 306 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/perl -w

use Chatbot::Eliza;

# This little script tests the Norwegian-language
# version of the "doctor" script.

# seed the random number generator
srand( time ^ ($$ + ($$ << 15)) );    

$chatbot = new Chatbot::Eliza "Mats", "norsk.txt";
##$chatbot->debug(1);
$chatbot->command_interface();