Cgi Perl interview questions
142 questions. Tap “Show answer” to check yourself.
-
What are the advantages of c over Perl?
-
Mention how many ways you can express string in Perl?
-
what is Perl one liner?
-
Which has the highest precedence, List or Terms? Explain?
-
what is the function that is used to identify how many characters are there in a string?
-
List the prefix dereferencer in Perl.
-
Which guidelines by Perl modules must be followed?
-
Where do we require ‘chomp’ and what does it mean?
-
How can you replace the characters from a string and save the number of replacements?
-
Does Perl have objects? If yes, then does it force you to use objects? If no, then why?
-
Difference between the variables in which chomp function work ?
-
Write a program to concatenate the $firststring and $secondstring and result of these strings should be separated by a single space.
- Advertisement
-
What is the usage of -i and 0s options?
-
What is the use of -w, -t and strict in Perl?
-
Which feature of Perl provides code reusability ? Give any example of that feature.
-
For a situation in programming, how can you determine that Perl is a suitable?
-
Explain what is STDIN, STDOUT and STDERR?
-
Why Perl aliases are considered to be faster than references?
-
What does -> symbol indicates in Perl?
-
How can you use Perl warnings and what is the importance to use them?
-
How can you call a subroutine and identify a subroutine?
-
In Perl, what is grep function used for?
-
In Perl, there are some arguments that are used frequently. What are that arguments and what do they mean?
-
what are the two ways to get private values inside a subroutine or block?
- Advertisement
-
Write syntax to use grep function?
-
Write syntax to add two arrays together in perl?
-
What does the’$_’ symbol mean?
-
what is the function of Return Value?
-
what is CPAN?
-
Which functions in Perl allows you to include a module file or a module and what is the difference between them?