in reply to How to use getopts to look in a file and submit each item in the file to a job with different switches.
Aside from the comment above, you have a number of errors in you code:
Please use strict;
$CLD_RV is not created in the script. If this is an environment variable then use $ENV{'CLD_RV'}
You use the wrong type of quotes for the values in %Options - use ' rather than `.
Missing ; after the initialisation of %Options
There are a few other nitpicks that I'll pass on.
Please use strict;
$CLD_RV is not created in the script. If this is an environment variable then use $ENV{'CLD_RV'}
You use the wrong type of quotes for the values in %Options - use ' rather than `.
Missing ; after the initialisation of %Options
There are a few other nitpicks that I'll pass on.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How to use getopts to look in a file and submit each item in the file to a job with different switches.
by cdarke (Prior) on Mar 10, 2010 at 08:46 UTC |
In Section
Seekers of Perl Wisdom