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

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

933


What does -> symbol indicates in Perl?

1034


What are the options that can be used to avoid logic errors in perl?

999


List the data types that Perl can handle?

1115


Write a program to show the process of spawning a child process

900


How to determine strings length in perl?

1015


How to implement a stack in Perl?

1077


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

984


Explain arrays in perl.

980


What is a chomp() function in perl?

1100


What is the use of -t?

1021


What are the different ways to run cgi?

1008


Which guidelines by Perl modules must be followed?

1069


Why does Perl not have overloaded functions?

1101


Explain lists ?

978