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 will you open a file in read-only mode in perl?

962


what is the function of Return Value?

1126


What is the use of -n and -p options?

1120


What is the importance of perl warnings?

1227


What are the various file operations in perl. Explain with example.

1003


How many types of operators are used in the Perl?

1078


Explain ivalue in perl?

1019


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

1063


What is posix in perl?

999


Write a program that explains the symbolic table clearly.

1010


Why Perl aliases are considered to be faster than references?

1004


What does -> symbol indicates in Perl?

1041


Which of these is a difference between Perl and C++ ?

1088


Which guidelines by Perl modules must be followed?

1080


What is epoch time in perl?

986