July 6, 2007

Perl Interview Questions -1

  1. when do you not use PERL for a project?
  2. what's the purpose of -w.strict,-T?
  3. I have a variable named $objref which is defined in main package. I want to make it as a Object of Class XYZ. How could I do it?
  4. What is difference between "Use" and "require". In which case should "Use" be used and not "Require"?
  5. How do you connect to database in perl
  6. How to Connect with SqlServer from perl and how to display database table info?
  7. Advantages of C over perl?
  8. Explain the difference between "my" and "local" variable scope declarations. ?
  9. what's your experience of interfacing perl to database?
  10. what's is the use of 'require' and what does this mean?
  11. what does 'qw(..)' mean? What's the use of it? when do we use it?
  12. "perl regular expressions are greedy" what does this mean?
  13. what is meant by a 'pack' in perl?
  14. what is a DataHash(). What does it mean? and for what purpose it is used??
  15. what does this symbol mean '->'
  16. what is meant 'die' in a perl program?
  17. where do you go for perl help?
  18. What is hash in perl?
  19. what are the benefits of having global and local variables?
  20. what does this mean : '$_' ?
  21. What is CPAN ? What are the modules coming under this?
  22. what is meant by 'chomp'? where do we require this ?
  23. Name an instance you used in CPAN module?
  24. what is a subroutine?
  25. What's the significance of @ISA, @EXPORT @EXPORT_OK %EXPORT_TAGS list & hashes in a pearl package? With example?
  26. Difference between for & for each,exec & system?
  27. what does the word '&my variable' mean? what does the symbol '&' means? What's purpose of it?
  28. what does this mean '$^0'?

POST YOUR ANSWERS AS COMMENT

No comments:

Post a Comment