Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Perl interview questions

by jassics (Initiate)
on Apr 24, 2012 at 12:54 UTC ( #966821=perlquestion: print w/replies, xml ) Need Help??

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.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://966821]
Approved by Old_Gray_Bear
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2022-05-18 20:19 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (71 votes). Check out past polls.