next operator in Perl skips the current loop execution and transfers the iterator to the value specified by the next. If there’s a label specified in the program, then execution skips to the next iteration identified by the Label.
Syntax : next Label
Frequency of E in the Array: 2
i = 0 and j = 0 As i == j, hence going back to outer loop i = 1 and j = 0 i = 1 and j = 1 As i == j, hence going back to outer loop i = 2 and j = 0 i = 2 and j = 1 i = 2 and j = 2 As i == j, hence going back to outer loop
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.