what is the procedure to define a user define module in your
perl application?
Answer Posted / subina
Package Module_name;
require Exporter;
@ISA = qw(list of base classes);
@Export = qw(list of symbols );
#------------code---------------------
#at the end of module
1;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How will you declare a variable in perl?
How do I debug a perl program?
What is the function of cgiwrap in cgi programming?
Does Perl have objects? If yes, then does it force you to use objects? If no, then why?
There are some duplicate entries in an array and you want to remove them. How would you do that?
What is “grep” function in perl?
What does a die() function do in perl?
what is the function that is used to identify how many characters are there in a string?
Explain chomp?
Explain the difference between "my" and "local" variable scope declarations. ?
Can inheritance be used in perl? Explain with the help of an example.
How do I replace every TAB character in a file with a comma?
What is the use of strict?
What is the use of command “use strict”?
What is the difference between single (') and double (") quote in a string in perl?