Home »
MCQs »
Perl Programming MCQs
Is the goto statement in Perl used to ___
81. Is the goto statement in Perl used to ___.
- Iterate over statements
- Jump from anywhere to anywhere within the block
- Create an entry point in program
- None of these
Answer: B) Jump from anywhere to anywhere within the block
Explanation:
The goto statement in Perl is used to jump from anywhere to anywhere with the block of code.