in reply to Re: Why is my GetOptions() Not Working?
in thread Why is my GetOptions() Not Working?

The problem is that my command line parameters are not getting into %Options. Does GetOptions require a leading '-' or '--' on the command line parameters?
  • Comment on Re^2: Why is my GetOptions() Not Working?

Replies are listed 'Best First'.
Re^3: Why is my GetOptions() Not Working?
by moot (Chaplain) on Mar 31, 2005 at 22:23 UTC
    Either should work. Post how you are calling your script, including the parameters.
      See the update. You were correct I was specifying parameters without '-'s. Is there any way around requiring the '-'s?
        Beyond writing your own parser, nothing springs to mind. Getopt and friends have to have some way to determine what is a switch or option from what constitutes an option's value or other parameter.
        A reply falls below the community's threshold of quality. You may see it by logging in.