Qualcomm Interview Question for Software Engineer in Tests

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

Use and Require are most common methods used to load modules.
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"
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 November 01, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
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 January 03, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
of 0 vote

#sample package module
Package <package_name>;
use strict;
use English;
use Exporter;
our @ISA = ('Exporter');
our EXPORT_OK = qw (&func1, &func2,...);
sub func1
sub func2

- Nagarjun Shroff March 08, 2014 | Flag Reply

Add a Comment

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


is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More


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