in reply to Getopt::Long
So I tried to pass in one huge string consisting of all the parameters I want ( ie GetOptions( \%myHash, "home=s,instance=s,fileSuffx:s") but that didn't work either (which didn't surprise me).I think, actually, that all you're missing is that the parameter descriptions must be an array (not just a big string run together with commas). Try this:
Enjoy.GetOptions( \%myHash, "home=s", "instance=s", "fileSuffx=s")
------------ :Wq Not an editor command: Wq
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Getopt::Long
by david.shin (Initiate) on Jun 01, 2004 at 13:56 UTC |