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 advantages of programming in perl?

530


Does Perl have objects? If yes, then does it force you to use objects? If no, then why?

542


How can you define “my” variables scope in Perl and how it is different from “local” variable scope?

624


List the prefix dereferencer in Perl.

565


Why should I use the -w argument with my Perl programs?

552






Explain lists ?

524


How to compare two strings in perl?

539


What is the use of -w, -t and strict in Perl?

557


What can be done for efficient parameter passing in perl?

473


How do I pass a command line argument in perl?

548


What is an interpolation in perl?

557


How can you create anonymous subroutines?

538


Define dynamic scoping.

499


what are prefix dereferencer and list them out?

633


Which feature of perl provides code reusability?

565