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

Which operator in perl is used for the concatenation of two strings?

951


What does next statement do in perl?

930


How do find the length of an array?

1052


How to read multi lines from a file in perl?

872


What are perl array functions?

1002


How can arrays be tied?

858


Explain grooving and shortening of arrays and splicing of arrays?

844


Differentiate between arrays and list in perl.

949


Explain perl. When do you use perl for programming?

836


Elaborate on perl bite-wise operators.

852


What is v-strings?

992


Write an example explaining the use of symbol tables.

904


Explain 'grep' function.

926


In Perl, there are some arguments that are used frequently. What are that arguments and what do they mean?

860


Explain the internal working of cgi

885