CGI Perl interview questions

CGI Perl interview questions
1)what is the meaning of rigging?
2)What is the difference between having a parenthesis after module name and without parenthsis after module name?? i.e Package::Module(); and Package::Module;
3)I have one question regarding to eval function. I know eval function is use for error checking but I am not able to understand below line. eval \'exec perl -S $0 ${1+\"$@\"}\' if 0; $0 for script name $@ set if error occur
4)write a Perl script to find a particular word in a paragraph???
5)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

6)write a perl script to find whether a given line of text is starting and ending with same word or not ???
7)How to disable the mod_perl from apache_server as i have used perlfect search on the site and its pagination is not working and the remedy is to disable the mod_perl.
8)What is caller function in perl?
9)how to extract pin_code,phone_number,year from text file using regular expressions in perl
10)what are steps to do to lock the sony ericsson mobile with password?
11)How to make the following assignment, as arrayreference assignment ? my $arr_ref='[1,2,3,4,4,'elem']';
12)Difference between Perl and Mod_perl?
13)Why we use "use lib $path"?
14)write a script to generate n prime no.s?
15)write a script to display mirror image of a entered value and also check whether Palindrome

No comments: