[KinoSearch] Using QueryFilter and BooleanQuery

Alessandro Ranellucci alex at primafila.net
Wed Apr 16 07:44:35 PDT 2008



On 16-04-2008 at 16:34, jack_tanner at yahoo.com wrote:

 >One bug in your script is your indexing into @ARGV. $ARGV[0] is not
 >the first parameter to the script, it's the script filename itself.
 >Try this:
 >print join (', ', @ARGV) . "\n";

You're confusing Perl with C. See perlvar:

@ARGV   The array @ARGV contains the command-line arguments intended
       for the script.  $#ARGV is generally the number of arguments
       minus one, because $ARGV[0] is the first argument, not the pro-
       gram's command name itself.  See $0 for the command name.
       
al.

_______________________________________________
KinoSearch mailing list
KinoSearch at rectangular.com
http://www.rectangular.com/mailman/listinfo/kinosearch




More information about the kinosearch mailing list