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

Explain grooving and shortening of arrays?

1035


Explain USE and REQUIREMENT statements?

886


What is perl pop array function?

890


Is there any way to add two arrays together?

917


Why we use CGI?

2493


How do you find the length of an array?

912


Explain goto label?

879


What is boolean context?

936


Explain splicing of arrays?

873


Define dynamic scoping.

837


Comment on the scope of variables in perl.

891


Explain the difference between die and exit in perl?

833


What interface used in PERL to connect to database? How do you connect to database in Perl?

948


What syntax is used for grep() function?

1101


Explain different types of perl operators.

892