Re: Hash dereferencing problem

2007-11-13 Thread John W . Krahn
On Tuesday 13 November 2007 12:02, Chas. Owens wrote: > On Nov 13, 2007 12:55 PM, <[EMAIL PROTECTED]> wrote: > > > > my %napMD_ProgressCode = ( > > snip > > > drawInputRowControlled('napMD_ProgressCode'); > > snip > > That is because you are passing a scalar containing the string > "napMD_Progress

Re: Hash dereferencing problem

2007-11-13 Thread John W . Krahn
On Tuesday 13 November 2007 09:55, [EMAIL PROTECTED] wrote: > Folks, Hello, > I am having a problem dereferencing a hash and am hoping somebody can > assist. I am getting the error: It appears that you are actually having a problem creating a reference to a hash. perldoc perldata perldoc perl

Re: Hash dereferencing problem

2007-11-13 Thread Dr.Ruud
[EMAIL PROTECTED] schreef: > use strict; > my %napMD_ProgressCode = ( >[...] > ); > > sub drawInputRowControlled{ > my $ControlList = $_[0]; > my %ControlList = %$ControlList; #Problem line > > for my $i (sort keys %ControlList) { > print qq{ > name='status' >

Re: Hash dereferencing problem

2007-11-13 Thread Chas. Owens
On Nov 13, 2007 12:55 PM, <[EMAIL PROTECTED]> wrote: > Folks, > > I am having a problem dereferencing a hash and am hoping somebody can > assist. I am getting the error: > > Can't use string ("napMD_ProgressCode") as a HASH ref > while "strict refs" in use snip > my %napMD_Progres