Problems? Is your data what you think it is? | |
PerlMonks |
Re: Getopt::Longby etcshadow (Priest) |
on May 29, 2004 at 02:12 UTC ( [id://357404]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|