Interview questions
Cgi Perl interview questions – page 2
141 questions. Tap “Show answer” to check yourself.
-
Which statement has an initialization, condition check and increment expressions in its body? Write a syntax to use that statement.
-
In CPAN module, name an instance you use.
-
How can information be put into hashes?
-
"Perl regular expressions match the longest string possible". What is the name of this match?
-
How can memory be managed in Perl?
-
How the interpreter is used in Perl?
-
What is use of '->' symbol?
-
What is the difference between die and exit in perl?
-
What is the easiest way to download the contents of a URL with Perl?
-
What does length(%HASH) produce if you have thirty-seven random keys in a newly created hash?
-
How do you you check the return code of a command in perl?
-
What is -> symbol in perl?
-
Does Perl have reference type?
-
How to dereference a reference?
-
How do you find the length of an array?
-
How do I generate a list of all .html files in a directory?
-
How do you match one letter in the current locale?
-
How do I print the entire contents of an array with Perl?
-
Why do you use Perl?
-
Why should I use the -w argument with my Perl programs?
-
How do I send e-mail from a Perl/CGI program on a Unix system?
-
How do I read command-line arguments with Perl?
-
How to read file into hash array ?
-
How to read from a pipeline with Perl
-
How do I sort a hash by the hash key?
-
How do I replace every character in a file with a comma?
-
Which of these is a difference between Perl and C++ ?
-
How do I sort a hash by the hash value?
-
When would `local $_' in a function ruin your day?
-
Why aren't Perl's patterns regular expressions?