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
What is the main difference between require() and require_once()?
How can we check the value of a given variable is alphanumeric?
What is static variable in php?
How can we display information of a variable and readable by a human with php?
What is asort php?
Tell us how can we display the output directly to the browser?
How do you end php?
What is the use of strpos in php?
Why php is used?
What is php glob?
What is a php session?
Tell me what is the main difference between php 4 and php 5?
Does php support polymorphism?
What is compact function php?
How to take a substring from a given string in php?