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

Explain use of ‘my’ keyword in perl?

575


What does the’$_’ symbol mean?

573


You want to read command-line arguements with perl. How would you do that?

499


How many types of primary data structures in Perl and what do they mean?

847


How would you ensure the re-use and maximum readability of your perl code?

520






What is the use of –w?

533


Differentiate between c++ and perl.

601


How do I print the entire contents of an array with Perl?

532


Explain USE and REQUIREMENT statements?

562


How to print escaping characters inside a string in perl?

513


What is goto statement in perl?

512


Define perl scripting?

577


Explain perl. When do you use perl for programming?

451


What is posix in perl?

526


What is lexical variable in perl?

523