| Other CGI Perl Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is a hash?
| Satyam | 6 |
| Difference between Perl and Mod_perl? | | 2 |
| Why do you program in Perl? | | 1 |
| How do you open a file for writing?
| | 4 |
| What purpose does each of the following serve: -w, strict, -
T ?
| | 2 |
| What is the difference between chop & chomp functions in perl? | Cap-Gemini | 5 |
| What does the command "use strict" do and why should you
use it?
| TCS | 2 |
| what is the meaning of rigging? | | 1 |
| Name an instance where you used a CPAN module? | TCS | 3 |
| how to install a package in perl ????
| | 2 |
| 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 |
| 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 |
| What is the difference between for & foreach, exec &
system?
| Photon | 5 |
| Write a script for 'count the no.of digits using regular
expressions in perl.. | AppLabs | 5 |
| What is the Common Gateway Interface? | | 2 |
| Write a simple regular expression to match an IP address,
e-mail address, city-state-zipcode combination.
| | 6 |
| How can you create an object of a class in a package? | IBM | 4 |
| what is the difference between require and use in perl? | IBM | 3 |
| What is the difference between module and package? | IBM | 2 |
| What do the symbols $ @ and % mean when prefixing a
variable?
| | 1 |
| |
| For more CGI Perl Interview Questions Click Here |