Follow Our FB Page << >> 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?


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?


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..


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?


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.


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?


4 6772

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


2 5220

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


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 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.


Why -w argument is used with perl programs?


Define operators used in perl?


What does init 5 and init 0 do?


Can you add two arrays together?


How to concatenate strings with perl?


What does file test operators do in perl?


When does circular reference occur?


How to access parameters passed to a subroutine in perl?


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


How does polymorphism work in perl?


Explain ivalue in perl?


Explain lists and ivalue?


Define print() function in perl?


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