CGI Perl Interview Questions
Questions Answers Views Company eMail

How to close a directory in perl?

493

How to convert strings into an array in perl?

515

Explain regular expression in perl?

529

How to read a single line from a file in perl?

542

Explain the difference between die and exit in perl?

437

What is perl push array function?

540

What is an interpolation in perl?

561

Explain subroutine in perl?

489

How to copy a file in perl?

512

How to add elements in a hash in perl?

510

How to read a directory in perl?

531

How to change a directory in perl?

544

What is q (single q) operator in perl?

534

Explain the use of 'my' keyword in perl?

559

What does last statement do in perl?

527


Post New CGI Perl Questions

Un-Answered Questions { CGI Perl }

Explain subroutine?

528


How to open and read data files with Perl

608


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.

1673


“Perl regular expressions match the longest string possible”. What is the name of this match?

527


Explain goto expr?

491






What do you mean by context of a subroutine?

560


What is the purpose of goto expr statement?

474


How to prevent file truncation in perl?

500


You want to read command-line arguements with perl. How would you do that?

496


Explain the arguments for perl interpreter.

524


Explain the use of 'my' keyword in perl?

559


What are the different string manipulation operators in perl?

530


How to determine strings length in perl?

531


What is the use of -n and -p options?

602


What is a chop() function in perl?

570