PERL interview questions

50 questions. Tap “Show answer” to check yourself.

Advertisement
  1. What does this mean '$^0'? tell briefly plse..

  2. What does the word '&myvariable' mean?What does the symbol '&' means? What's purpose of it?

  3. What does this symbol mean '->'

  4. What does the symbol '&' means? What's purpose of it?

  5. What is meant by 'chomp'? where do we require this ?

  6. Perl regular expressions are greedy what does this mean?

  7. Advantages of C over perl?

  8. What is your experience of interfacing Perl to database?

  9. What does this mean '$^0'?

  10. How do you connect to database in perl

  11. What is a subroutine?

  12. What does 'qw(..)' mean? What's the use of it?when do we use it?

  13. Advertisement
  14. Name an instance you used in CPAN module?

  15. What are the benefits of having global and local variables?

  16. Where do you go for perl help?

  17. When do you not use Perl for a project?

  18. Given a file, count the word occurrence (case insensitive)

  19. What is CPAN ? What are the modules coming under this?

  20. What is the range of the char type?

  21. Difference between for & foreach,exec & system?

  22. What is meant 'die' in a perl program?

  23. What does the word '&myvariable' mean?

  24. What's is the use of 'require' and what does this mean?

  25. What is a DataHash(). What does it mean? and for what purpose it is used??

  26. Advertisement
  27. What does this mean :'$_' ?

  28. What is meant by a 'pack' in perl?

  29. What's the purpose of -w.strict,-T?

  30. What does new $cur->{LINK} do?

  31. Why we use Perl?

  32. How do I set environment variables in Perl programs?

Advertisement