Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

CGI Perl Interview Questions
Questions Answers Views Company eMail

What is the difference between for & foreach, exec & system?

Photon, Wipro,

9 31051

Name an instance where you used a CPAN module?

IBM, TCS,

3 9390

How do you open a file for writing?

6 9375

How would you replace a char in string and how do you store the number of replacements?

2 11788

When would you not use Perl for a project?

IBM,

1 9365

What is a hash?

Photon, Satyam, Wipro,

6 11000

What is the difference between chop & chomp functions in perl?

Cap Gemini, DELL, Electronic Data, TCS,

10 40486

Write a script for 'count the no.of digits using regular expressions in perl..

AppLabs,

6 13506

i have a folder called 'error' and in that, i have error log files which are generated by the build, now i want to findout the string 'error' from each log file and that error has to be copied into the another file called 'analysis'. how do you do this in perl?

HP,

5 7396

Can any1 tell me 2 write the script using perl script 2 looking at a log file 2 see wheather the test has passed or not.

TCS,

3 5990

What is the difference between module and package?

EDS, IBM, Symantec,

4 27111

How can you create an object of a class in a package?

IBM,

4 6772

what is the procedure to define a user define module in your perl application?

IBM,

2 5220

How would you trap error occurred in the perl program/file?

IBM,

3 8420

what r the different type of function in perl ???

ABC, Symphony,

1 5963


Post New CGI Perl Questions

Un-Answered Questions { CGI Perl }

how to create a flat file database as shown below s.no name age city phone 0 hema 22 Calcutta 4312542 1 hema 21 Bangalore 2344345 2 ganesh 25 delhi 2445454 3 kartik 45 pune 4312121 4 santosh 25 Hyderabad 2254231 5 kumar 25 mysore 2344567 6 gita 34 mangalore 6532123 7 gita 32 pune 2213456 Q1.print the details of the person who r from bangalore q2.Replace the city name managlore to pune q3.prints no of person having name gita and hema q4.print how many are of age 25.

1547


Why -w argument is used with perl programs?

407


Define operators used in perl?

367


What does init 5 and init 0 do?

386


Can you add two arrays together?

382






How to concatenate strings with perl?

346


What does file test operators do in perl?

372


When does circular reference occur?

382


How to access parameters passed to a subroutine in perl?

399


What are the benefits of perl in using it as a web-based application?

336


How does polymorphism work in perl?

366


Explain ivalue in perl?

389


Explain lists and ivalue?

397


Define print() function in perl?

400


what are steps to do to lock the sony ericsson mobile with password?

1638