in reply to Re: Ways of Passing Configuration Parameters
in thread Ways of Passing Configuration Parameters

No, it's not specified on the command line. It's a data declaration in a file. See the node referenced in the original note for details one what it's for.

I thought about using Getopt::Long anyway, but don't know if I can make it look at an array other than @ARGV.

  • Comment on Re: Re: Ways of Passing Configuration Parameters

Replies are listed 'Best First'.
Re: Re: Re: Ways of Passing Configuration Parameters
by Coyote (Deacon) on Jun 08, 2001 at 19:54 UTC
    I'm not sure that Getopt::Long is the right tool for the job here, but if you want to use it, localize @ARGV and assign your array of configuration parameters to @ARGV before making a call to Getopt::Long. There's some code and discussion of this here.

    ----
    Coyote