What are Sub routines?

Answer Posted / dhanya

A routine or subroutine also referred to as a function,
procedure, and subprogram is a portion of code that may be
called and executed anywhere in a program. For example, a
routine may be used to save a file or display the time.
Instead of writing the code for these commonly performed
tasks, routines are made and called when these tasks need to
be performed. Below is a basic example of a Perl subroutine.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define soundex()?

509


What is magic function in php?

533


What is html used for?

552


Tell me what does $_env means?

528


Why php is used in html?

527






Why use static methods php?

536


What is a php tag?

520


Why php is used?

603


What is a string in r?

510


What does $_env mean?

565


What is difference between sql and php?

543


What is global array in php?

568


What is difference between action hook and filter hook?

489


What is php constructor?

536


What is difference between echo and print_r in php?

493