http://qs321.pair.com?node_id=966821

jassics has asked for the wisdom of the Perl Monks concerning the following question:

I have tried to collect various Perl interview questions from the internet, from my co-workers and my experience.

If you wish to modify or add more question on it, please do share your questions which will be meant for freshers or for experienced too.

Here is the link: Perl Interview Questions

Replies are listed 'Best First'.
Re: Perl interview questions
by chilledham (Friar) on Apr 24, 2012 at 16:21 UTC
Re: Perl interview questions
by JavaFan (Canon) on Apr 24, 2012 at 15:59 UTC
    Regular Expression in Perl

    2. Email id Validation

    So, do you require candidates to recite the multi-page regexp from Jeffrey Friedl, or should they be able to recite the BNF-to-pattern one found in the Perl test suite?
      For me, I'd suggest either they say, "too hard, I'd use Email::Valid" (to be followed up with "Why do you say that?" to see if they actually know why), or "how much validation do you want?" - just as long as they know it's not trivial. Certainly this is a senior vs. junior weeder question, asked this way.
Re: Perl interview questions
by pemungkah (Priest) on Apr 24, 2012 at 23:49 UTC
    Bandwidth exceeded. Can I suggest this would make a good meditation? Perlmonks has more bandwidth than your site, almost certainly.

    Since I can't see the list:

    1. When would yo prefer a hash to an array, and vice versa? Why, in each case?
    2. What's your favorite CPAN module? Why? What would you change about it?
    3. Do you have any modules on CPAN? What do they do?
    4. Explain how objects and inheritance work in Perl.
    5. Explain what references do and how they work.
    6. When would you prefer a plugin/delegation architecture to an inheritance-base one? Why
    I'll probably think of some more.