http://qs321.pair.com?node_id=104298


in reply to SPAM eater

Anyone can tell me how to get this to work ? I try to run it but all I get is hundreds of compile warnings... # perl index.pl "use" not allowed in expression at index.pl line 5, at end of line syntax error at index.pl line 5, near "char #!perl.exe use Chatbot::Eliza" BEGIN not safe after errors--compilation aborted at index.pl line 6.

Replies are listed 'Best First'.
Re: Re: SPAM eater
by gordzilla (Novice) on Aug 13, 2001 at 00:08 UTC
    You need to install the 'chatbot::eliza' -- You can find it here
      Probably a good thing to have the module. But in this case, the shebang/hashbang line on boo_radley's script uses perl.exe, a decidedly Windows sort of thing to do. On Unix, in the absence of an executable named perl.exe (easily accomplished by symlinking in an appropriate place), this script will run as a shell script-- which yields a host of interesting errors none of which are related to not having this module installed in the local Perl install. More than likely Unix users will want to change that first line to a variant of #!/usr/bin/perl.