Re: 'Keys' Question

2007-06-15 Thread Jenda Krynicky
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > On Jun 14, 7:59 am, [EMAIL PROTECTED] (Jenda Krynicky) wrote: > > Most likely the second line should look like this: > > > > @TablePreReq = keys(%{$ConfigFile{InputDataFile}}); > > This gets it to compile. I was a bit puzzled because this code is

Re: 'Keys' Question

2007-06-14 Thread [EMAIL PROTECTED]
Actually, it turns out the version in question is NOT in production. Someone (before my time) put a new, nonfunctioning version in PVCS. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: 'Keys' Question

2007-06-14 Thread Chas Owens
On 6/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: On Jun 14, 7:59 am, [EMAIL PROTECTED] (Jenda Krynicky) wrote: > Most likely the second line should look like this: > > @TablePreReq = keys(%{$ConfigFile{InputDataFile}}); This gets it to compile. I was a bit puzzled because this code i

Re: 'Keys' Question

2007-06-14 Thread [EMAIL PROTECTED]
On Jun 14, 7:59 am, [EMAIL PROTECTED] (Jenda Krynicky) wrote: > Most likely the second line should look like this: > > @TablePreReq = keys(%{$ConfigFile{InputDataFile}}); This gets it to compile. I was a bit puzzled because this code is in production (apparently as is in the original) but it w

Re: 'Keys' Question

2007-06-14 Thread Jenda Krynicky
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > New to perl (old to Ada, C, C++, COBOL, .) I'm looking at some > existing code. > > read_config ('../config/legacyload.cfg', %ConfigFile); > @TablePreReq = keys(%ConfigFile{InputDataFile}); > > > When I run it I get the error

Re: 'Keys' Question

2007-06-14 Thread Jeff Pang
[EMAIL PROTECTED] 写道: New to perl (old to Ada, C, C++, COBOL, .) I'm looking at some existing code. read_config ('../config/legacyload.cfg', %ConfigFile); @TablePreReq = keys(%ConfigFile{InputDataFile}); When I run it I get the error (v. 5.8.4): syntax error at cut

'Keys' Question

2007-06-14 Thread [EMAIL PROTECTED]
New to perl (old to Ada, C, C++, COBOL, .) I'm looking at some existing code. read_config ('../config/legacyload.cfg', %ConfigFile); @TablePreReq = keys(%ConfigFile{InputDataFile}); When I run it I get the error (v. 5.8.4): syntax error at cutover.pl line 318, near "