Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

How to change a directory in perl?

888


Assuming both a local($var) and a my($var) exist, what's the difference between ${var} and ${"var"}?

929


how to extract pin_code,phone_number,year from text file using regular expressions in perl

2186


What does `new $cur->{LINK}' do? (Assume the current package has no new() function of its own.)

887


List the operator used in Perl?

919


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

924


What is the purpose of redo statement?

947


Write a script to reverse a string without using perl's built in functions?

927


List all the features of perl programming?

849


what are prefix dereferencer and list them out?

974


What $! In perl?

907


what are the two ways to get private values inside a subroutine or block?

875


How to open a directory in perl?

1027


Suppose an array contains @arraycontent=(‘ab’, ‘cd’, ‘ef’, ‘gh’). How to print all the contents of the given array?

919


Does Perl have reference type?

893