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


Please Help Members By Posting Answers For Below Questions

What are the reasons that cookie server can’t handle multiple connections?

726


How the interpreter is used in Perl?

703


How will you declare a variable in perl?

726


What is subroutine in perl?

689


What is grep used for in perl?

682


What is the use of "stderr()"?

773


Explain what is the scalar data and scalar variables in Perl?

728


Differences between die and exit.

774


When does circular reference occur?

685


Explain substr function in perl?

754


How to prevent file truncation in perl?

689


Explain grooving and shortening of arrays?

873


How do you turn on the perl warnings?

669


What's the difference between /^Foo/s and /^Foo/?

747


How do I replace every TAB character in a file with a comma?

733