drewboy has asked for the wisdom of the Perl Monks concerning the following question:
# Go through the database. open (DB, "<$db_file_name") or &cgierr("error in search. unable to + open database: $db_file_name. Reason: $!"); flock (DB, 1) if ($db_use_flock); LINE: while (<DB>) { /^#/ and next LINE; # Skip comment Lines. /^\s*$/ and next LINE; # Skip blank lines. chomp; # Remove trailing new line. @values = &split_decode($_); $grand_total++;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Faster Search Engine
by tachyon (Chancellor) on Jul 22, 2001 at 11:50 UTC | |
by drewboy (Sexton) on Jul 22, 2001 at 13:00 UTC | |
by tachyon (Chancellor) on Jul 22, 2001 at 14:24 UTC | |
by drewboy (Sexton) on Jul 22, 2001 at 21:19 UTC | |
by tachyon (Chancellor) on Jul 23, 2001 at 03:25 UTC | |
| |
Re: Faster Search Engine
by scottstef (Curate) on Jul 22, 2001 at 18:36 UTC |