Bugzilla – Bug 4533
make-test-script.pl bug
Last modified: 2008-02-04 11:29:55
You need to log in before you can comment on or make changes to this bug.
"$ARGV[0]" is not a hush. Therefore, "exists" cannot be used. *** make-test-script.pl.org Wed Nov 9 06:26:15 2005 --- make-test-script.pl Thu Apr 27 11:02:25 2006 *************** *** 24,30 **** "debug" => \$debug, "help|h" => \$help); ! if (exists $ARGV[0]) { $script_name = $ARGV[0]; } --- 24,30 ---- "debug" => \$debug, "help|h" => \$help); ! if ($ARGV[0] ne "") { $script_name = $ARGV[0]; }
Reassigning to current GRAM developer to close/fix as appropriate.
From the perlfunc man page: exists EXPR Given an expression that specifies a hash element or array ele- ment, returns true if the specified element in the hash or array has ever been initialized, even if the corresponding value is undefined. The element is not autovivified if it doesn't exist.