Snowman11 has asked for the wisdom of the Perl Monks concerning the following question:
i just changed it to a while loop...#if the fields are not filled in do this while(scalar @data{value} eq ""){ &adduser;#goes back to asking for array members }do(@data{value} != "" || null){ #if the Values are p +resent Print 'em for ($c1 = 0; $c1 < scalar @data; ++$c1){ print "The", $data[$i]{value} . "\n"; }#end of for(); };#end of else{};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Testing Hash Arrays
by ikegami (Patriarch) on Jun 27, 2005 at 16:24 UTC | |
by Snowman11 (Novice) on Jun 27, 2005 at 16:32 UTC | |
by ikegami (Patriarch) on Jun 27, 2005 at 16:58 UTC | |
by Snowman11 (Novice) on Jun 27, 2005 at 17:15 UTC | |
|
Re: Testing Hash Arrays
by Fletch (Bishop) on Jun 27, 2005 at 16:24 UTC | |
|
Re: Testing Hash Arrays
by Snowman11 (Novice) on Jun 27, 2005 at 16:53 UTC | |
by xorl (Deacon) on Jun 28, 2005 at 15:32 UTC |