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...

Explain the difference between use and require?

Answer Posted / kush

Use :

1. The method is used only for the modules(only to include
.pm type file)

2. The included objects are varified at the time of compilation.

3. No Need to give file extension.

Require:

1. The method is used for both libraries and modules.

2. The included objects are varified at the run time.

3. Need to give file Extension.

Is This Answer Correct ?    38 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to read file into hash array ?

1105


What is perl scripting?

945


Explain tk?

997


Give an example of using the -n and -p option.

1002


Write a program to download the contents from www.perlinterview.com/answers.php website in Perl.

893


What is the closure in PERL?

1019


Why to use perl scripting?

1007


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

968


How do I send e-mail from a Perl/CGI program on a Unix system?

1009


What package you use to create a windows services?

887


Explain what is lvalue?

1018


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

924


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

891


What is perl dbi?

892


What does perl do in linux?

947