Adedayo Adeyeye wrote:
Hello,
I'm getting an error when trying to run a script. Part of the scripts is
Line 10 my $action = param('form_action');
.
Line 14 Search_DB() if($action eq 'search');
The error I get is:
[Tue Nov 1 16:28:41 2005] connect_script.cgi: Use of uninitialized val
Adriano Allora wrote:
`sort tagged_files/* | uniq > word+tag.txt`;
???
All files in tagged_files/* are unique. This looks like a lot of make
work. Try File::Find instead. See `perldoc File::Find`.
open(IDX, ")
{
next if /^\W.+/;
open(TMP, ">indexes/$_.txt");
Chris Devers wrote:
On Tue, 27 Dec 2005, Brano Gerzo wrote:
I am programming one script. It should be accessible as cgi-bin from
web, and also as commandline from shell.
But I don't know how to properly handle arguments and to know, if
script was called from commandline, or from web.
Anyone