| Other CGI Perl Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| 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 | 2 |
| When would you not use Perl for a project? | | 1 |
| What is the difference between for & foreach, exec &
system?
| Photon | 3 |
| What purpose does each of the following serve: -w, strict, -
T ?
| | 2 |
| Name an instance where you used a CPAN module? | TCS | 3 |
| Write a script for 'count the no.of digits using regular
expressions in perl.. | AppLabs | 4 |
| Why do you program in Perl? | | 1 |
| How would you replace a char in string and how do you store
the number of replacements?
| | 2 |
| What?s your favorite module and why?
| | 1 |
| what r the different type of function in perl ??? | Symphony | 1 |
| How can you create an object of a class in a package? | IBM | 2 |
| What arguments do you frequently use for the Perl
interpreter and what do they mean?
| | 1 |
| What is the difference between module and package? | IBM | 1 |
| 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 | 4 |
| How do you open a file for writing?
| | 4 |
| how to search a unique pattern in a file by using perl hash
map function ??? plz answer me | | 2 |
| What does the command "use strict" do and why should you
use it?
| TCS | 2 |
| Explain the difference between use and require? | | 2 |
| what is the procedure to define a user define module in your
perl application? | IBM | 1 |
| How would you trap error occurred in the perl program/file? | IBM | 2 |
| |
| For more CGI Perl Interview Questions Click Here |