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 to change a directory in perl?
Assuming both a local($var) and a my($var) exist, what's the difference between ${var} and ${"var"}?
how to extract pin_code,phone_number,year from text file using regular expressions in perl
What does `new $cur->{LINK}' do? (Assume the current package has no new() function of its own.)
List the operator used in Perl?
How do I replace every character in a file with a comma?
What is the purpose of redo statement?
Write a script to reverse a string without using perl's built in functions?
List all the features of perl programming?
what are prefix dereferencer and list them out?
What $! In perl?
what are the two ways to get private values inside a subroutine or block?
How to open a directory in perl?
Suppose an array contains @arraycontent=(‘ab’, ‘cd’, ‘ef’, ‘gh’). How to print all the contents of the given array?
Does Perl have reference type?