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 difference between require and use in perl?

Answer Posted / jayakumar.b

use:
* Object Verification will happen @ Compile Time.
* File will have extention of .pm
* Module location will be set by @ISA Variable.

require:
* Object Verification will happen @ Run TIme.
* Method can be used from and .pm or .pl file.
* Absolute path to be given, if file located in different
dir.

Is This Answer Correct ?    13 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is cpan in perl?

999


What does next statement do in perl?

1052


How to open a directory in perl?

1157


What are scalar data and scalar variables?

1184


Differences between die and exit.

1035


What are prefix dereferencer?

992


Why to use perl?

998


How can information be put into hashes?

1026


What are perl variables?

981


What is perl dbi?

929


you are required to replace a char in a string and store the number of replacements. How would you do that?

977


Explain split function in perl?

1039


Explain the meaning of subroutine?

1016


Show the use of sockets for the server and client side of a conversation?

933


What are the different types of perl operators?

1148