What is the purpose of redo statement?
Answer / Chandan Gupta
The 'redo' statement in Perl causes the current iteration of a loop to be repeated from the top. It can be useful when there are multiple conditions that might cause a loop to iterate again.
| Is This Answer Correct ? | 0 Yes | 0 No |
In Perl, what is grep function used for?
How do you find the length of an array?
For a situation in programming, how can you determine that Perl is a suitable?
How to create a directory in perl?
What are the purpose of close(), getc() and read() functions?
What is the purpose of goto expr statement?
How does polymorphism work in perl?
what is the meaning of rigging?
my @array=('data1','data2'); my @array1=('data1','data2'); my ($i,$k); $i=7; $k=7; while($i){ $array [++$#array] = 'ree'; $i--; print "@array"; } while($k){ push(@array1,'ree'); $k--; print "@array1"; } Are these two while loop are doing the same functionality ? What may be the difference?
What does redo statement do in perl?
What are the arguements we normally use for perl interpreter?
How to disable the mod_perl from apache_server as i have used perlfect search on the site and its pagination is not working and the remedy is to disable the mod_perl.