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

How to know whether a key exists or not in perl?

982


Explain lists and ivalue?

952


Remove the duplicate data from @array=(“perl”,”php”,”perl”,”asp”)

1000


Is perl a case sensitive language?

1107


What are the purpose of close(), getc() and read() functions?

884


What is 'rollback' command in perl?

953


Does Perl have reference type?

934


Write a program that shows the distinction between child and parent process?

937


Explain cpan?

974


How do I sort a hash by the hash key?

920


What is the importance of perl warnings?

1142


What is it meants by '$_'?

895


How can we create perl programs in unix, windows nt, macintosh and os/2 ?

891


What are perl variables?

928


What is stdin in perl?

966