Qualcomm Interview Question Software Engineer in Tests

  • qualcomm-interview-questions
    0
    of 0 votes
    2
    Answers

    use vs require keyword. How to create module

    - Interviewee on October 07, 2010 Report Duplicate | Flag
    Qualcomm Software Engineer in Test Perl



Comment hidden because of low score. Click to expand.
0
of 0 vote

use is evaluated at compile time. Require is evaluated at run time. So Require is good if you want one module or another but the instantiation overhead of both is very large which means you want to instantiate only the one you need.

- Mafioso on January 03, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Use and Require are most common methods used to load modules.
Use:
1) It is evaluated at compile time only.
2) it is used only to load modules.
3)No need to give file extensions when we are using "use"
Require:
1)This is evaluated at Run time
2)This method is used for both libraries and modules.
3)Need to give file extensions like pl,pm etc..

- Bandi Ram Mohan on November 01, 2012 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book walking you through every aspect of getting a job at a top tech company, while focuses on software engineering interviews.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More