Hi all
Is there a workaround for this. I am trying to decode a logic in the else block and if it passes then i dont want it exit out of the loop but go to Line 12. Is there a workaround for this?
Please let me know .. I have attached the code below
Krishnar
1: while (<READ_FILE>) { 2: if ($cur_code == $area_code) { 3: //Some logic here 4: } 5: else{ 6: $cur_code = $area_code; 7: if($first_time == 1){ 8: $first_time = 0; 9: last ; 10: } 11: } 12: print "Hello"; 13: }
Edited 2004-08-18 by mirod: added <code> and <p> tags
In reply to Question about last statement by perl_krish
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |