Explain Goto label, Goto name, and Goto expr.

devquora
devquora

Posted On: Feb 22, 2018

 

  • Goto label: at this label, execution stops at the current point and resumes at the point where the label is specified. You cannot jump to a point inside a subroutine using Goto Label.
  • Goto name: it replaces the subroutine that is currently executing with a call to a particular subroutine instead. It automatically calls a different subroutine dynamically selects alternative routines.
  • Goto¬†expr: it is an extension of Goto label.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Perl interview questions

    List all the features of Perl programming.

    Practical extraction and reporting language (PERL) is an open source software which is used to develop web-based applica..

    Perl interview questions

    What are the benefits of PERL in using it as a web-based application?

    The benefits of using PERL programming are: PERL is known as the duct tape of the internet. PERL can accelerate the pro..

    Perl interview questions

    Talk about the applications of PERL.

    PERL has myriad and varied applications. PERL is used to write Common Gateway Interface scripts and large projects like..