in reply to Re: while loop question
in thread while loop question
Thanks for the quick answer. nr.1 - copy-paste error. nr.2 - 100% RIGHT. nr.3 - understand. nr.4 - fast writing error :-) Sorry, code nr.4 is not good for "since you want to exit the loop when a certain key is reached" because I want to create a hash element if the has key is not there. For now I use the "defined" function (below) to do the work but I realy want to know if there is other solution.
unless ( defined $email{"email"} ) { $email{$html->param("email")}=$html->param("name"); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: while loop question
by aitap (Curate) on Aug 21, 2014 at 11:48 UTC | |
by adriang (Sexton) on Aug 21, 2014 at 11:54 UTC | |
by SuicideJunkie (Vicar) on Aug 21, 2014 at 14:15 UTC | |
by aitap (Curate) on Aug 21, 2014 at 17:47 UTC |