hi,
How to come forcefully come out of a loop,but not from the program,
like we use break statement in c. Is there any predefined function like break in perl?
'last' works like break in C. To give you a brief overview of control statements:
last - come out of the statement block
next - terminate current iteration and continue with next iteration(used in loops)
continue - continue with the next block
exit - exit the program/script