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
In reply to Re: Getopt::Long
by etcshadow
in thread Getopt::Long
by david.shin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |