![]() |
|
Keep It Simple, Stupid | |
PerlMonks |
Showing Sample Source Code without Modulesby Belgarion (Chaplain) |
on Dec 02, 2005 at 15:58 UTC ( [id://513621]=perlmeditation: print w/replies, xml ) | Need Help?? |
I recently had my first real Perl programming interview. I've used Perl for years in my consulting business, but the clients did not care what language I programmed in. However, this position is for an actual Perl programmer, so they wanted to see a sample of my work. Not a problem I thought, I've done lots of Perl programming. But wait! There's a couple of requirements to this sample code
Ummm.... Now I was stuck. Any Perl scripts I've written which do not require a module or two are just toy scripts under 25 lines in length. Everything else worth programming, I feel, can use a module or more. For example, if I'm programming a web application I'm likely reaching for CGI::Application, Class::DBI, and Template Toolkit to start unless it's extremely simple (more a script, and less an application.) How would my fellow monks handle this situation? Unless you've written a module as example work, how do you show your Perl programming skills without relying on external modules, but still have an application that's around 100 lines in length? 1 Clarified that the interviewer was requesting around 100 lines. Not much less, and not much more.
Back to
Meditations
|
|