CoolInterview.com - World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Interview Success Kit - Get Success in Job Interviews Interview Success Kit - 30,000 Interview Que. & Ans.
Covers 30,000+ Interview Questions asked in actual MNC Interviews - all with model answers.

Sponsored Links

Interview Questions
Our Services

INTERVIEW QUESTIONS PROGRAMMING LANGUAGES PERL DETAILS
Question :
what's is the use of 'require' and what does this mean?


Category Perl Interview Questions
Rating (3.7) By 7 users
Added on 7/19/2011
Views 977
Rate it!


Answers:

Source: CoolInterview.com

Require is a call to an external essential script or module, without which the current script/program will not proceed any further.
Source: CoolInterview.com



Source: CoolInterview.com

require function is used to load a seperate perl script or module in run time.If the file to be loaded is not in the directories listed in @INC array then full path of the perl file is to be passed in the require function .

ex . require "require.pl";
require "Mymodule.pm";
The location of perl file require.pl should be in directories listed in @INC.

otherwise give fullpath - require"/home/user/require.pl";

Once the perl file is loaded INC variable is updated with latest loaded perl file as key and its location as value .That's why before loading perl file require function checks if the file is already there in INC.If file is there then it'll not load the file.
Source: CoolInterview.com



Posted by: sandeep

Contact sandeep Contact sandeep

If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-

  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.
  • Name :*
    Email Id :*
    Answer :*
    Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
    Process Verification Enter the above shown code: *
    Inform me about updated answers to this question

    Related Questions
    View Answer
    what is meant 'die' in a perl program?

    View Answer
    what is a DataHash(). What does it mean? and for what purpose it is used??

    View Answer
    What is CPAN ? What are the modules coming under this?




    View Answer

    Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

    View ALL Perl Interview Questions & Answers

    User Options
    India News Network

    Latest 20 Questions
    Who gave the positive aspect of science? a)Alfred Marshall b)A.C. Pigou c)Adam Smith d)Robbins
    Micro economics is concerned with: a)Consumer behaviour b)Product pricing c)Factor pricing d)All of the above
    Which one in the following is not correct? a)There are limited wants b)Means are scarce c)Resources have alternative uses d)Economics is science
    What is the RESTeasy framework?
    What is the Jersey framework?
    What is the Restlet framework?
    What is WADL?
    What is the difference between SOAP and other remote access techniques?
    What is the wsgen tool?
    What is the wsimport tool?
    What is encoding rules for header entries?
    What are 2 styles web service?s endpoint by using JAX-WS?
    What does SOAP encodingStyle attribute defines?
    What is the SOAP encoding?
    What is a SOAP envelope element?
    What is XOP?
    What is MTOM?
    What is JAXB?
    What is JAX-WS?
    What is WSDL?



    Fresher Jobs | Experienced Jobs | Government Jobs | Walkin Jobs | Company Profiles | Interview Questions | Placement Papers | Companies In India | Consultants In India | Colleges In India | Exams In India | Latest Results | Notifications In India | Call Centers In India | Training Institutes In India | Job Communities In India | Courses In India | Jobs by Keyskills | Jobs by Functional Areas

    Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes

    Gate Articles | Gate Books | Gate Colleges | Gate Downloads | Gate Faqs | Gate Jobs | Gate News | Gate Sample Papers | Gate Training Institutes

    MBA Articles | MBA Books | MBA Case Studies | MBA Business Schools | MBA Current Affairs | MBA Downloads | MBA Events | MBA Notifications | MBA FAQs | MBA Jobs
    MBA Job Consultants | MBA News | MBA Results | MBA Courses | MBA Sample Papers | MBA Interview Questions | MBA Training Institutes

    GRE Articles | GRE Books | GRE Colleges | GRE Downloads | GRE Events | GRE FAQs | GRE News | GRE Training Institutes | GRE Sample Papers

    IAS Articles | IAS Books | IAS Current Affairs | IAS Downloads | IAS Events | IAS FAQs | IAS News | IAS Notifications | IAS UPSC Jobs | IAS Previous Question Papers
    IAS Results | IAS Sample Papers | IAS Interview Questions | IAS Training Institutes | IAS Toppers Interview

    SAP Articles | SAP Books | SAP Certifications | SAP Companies | SAP Study Materials | SAP Events | SAP FAQs | SAP Jobs | SAP Job Consultants
    SAP Links | SAP News | SAP Sample Papers | SAP Interview Questions | SAP Training Institutes |




    Copyright ©2003-2016 CoolInterview.com, All Rights Reserved.
    Privacy Policy | Terms and Conditions



    Cache = 0.011719 Seconds