penelope
04-04-1999, 07:10 PM
Hello all:
I'm having trouble trying to set up our search script. It's a nice search script that stores results in flat text files instead of doing a full site search everytime somebody tries to search, thus resulting in a) better performance for my user and b) less load on the server. :-) I REALLY want to use this perl script.
Code Begin::
#!/usr/bin/perl5.00404
#
# search.pl - The Perlfect Search Engine
# version 1.1
#
# (c) 1998 Giorgos Zervas, Perlfect Solutions
# giorgos@perlfect.com
# http://perlfect.com
#
# 15 November 1998
#
# requires the following perl modules:
# CGI, CGI::Carp, Data: http://www.aota.net/ubb/biggrin.gifumper
#
# requires the following scripts
# indexer.pl >= v1.1
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
use CGI;
use CGI::Carp qw(fatalsToBrowser);
use Data: http://www.aota.net/ubb/biggrin.gifumper;
my $version = "1.1";
Code End::
it just errors our 500 if I hit it via a web page. perl5.00404 -c or perl5 -c results in:
"Args must match #! line at search.pl line 1."
I'm thinking that we don't have the CGI, CGI::Carp or Data: http://www.aota.net/ubb/biggrin.gifumpter modules installed.
Can someone please help me out?
Thanks VERY much!
Peace,
Penelope
I'm having trouble trying to set up our search script. It's a nice search script that stores results in flat text files instead of doing a full site search everytime somebody tries to search, thus resulting in a) better performance for my user and b) less load on the server. :-) I REALLY want to use this perl script.
Code Begin::
#!/usr/bin/perl5.00404
#
# search.pl - The Perlfect Search Engine
# version 1.1
#
# (c) 1998 Giorgos Zervas, Perlfect Solutions
# giorgos@perlfect.com
# http://perlfect.com
#
# 15 November 1998
#
# requires the following perl modules:
# CGI, CGI::Carp, Data: http://www.aota.net/ubb/biggrin.gifumper
#
# requires the following scripts
# indexer.pl >= v1.1
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
use CGI;
use CGI::Carp qw(fatalsToBrowser);
use Data: http://www.aota.net/ubb/biggrin.gifumper;
my $version = "1.1";
Code End::
it just errors our 500 if I hit it via a web page. perl5.00404 -c or perl5 -c results in:
"Args must match #! line at search.pl line 1."
I'm thinking that we don't have the CGI, CGI::Carp or Data: http://www.aota.net/ubb/biggrin.gifumpter modules installed.
Can someone please help me out?
Thanks VERY much!
Peace,
Penelope