David, You caught my typo in my email -- the braces should have been parens. Unfortunately, that was just a typed-in example, and the original problem remains: AppConfig::Getopt cannot handle hashes passed on the command-line.
Regs, Karl K. ----- Original Message ----- From: david To: [EMAIL PROTECTED] Sent: Monday, August 26, 2002 5:12 PM Subject: Re: Having problems with AppConfig::Getopt module i have never used AppConfig::Getopt before... Karl Kaufman wrote: > For example: > > # test.pl -pagerdest [EMAIL PROTECTED] > > Should result in: > > %pagerdest = ( > 'karl' => '[EMAIL PROTECTED]' > ); <<Fixed after the fact>> but are you sure you mean that? it means it should assign a hash reference to a hash. if you have -w turn on, you should see a warning. without -w, your %pagerdest will end up(silently) using the memeory address of the annom. ref as it's key and undef for it's value. how are you going to access 'karl'? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]