in reply to Showing Sample Source Code without Modules

I think the key here is that they want to see that you know how to program and are not just calling prewritten subroutines. I would use your "best code" regardless of the modules called and make sure that _your_ logic is properly documented.

g_White
  • Comment on Re: Showing Sample Source Code without Modules

Replies are listed 'Best First'.
Re^2: Showing Sample Source Code without Modules
by Belgarion (Chaplain) on Dec 02, 2005 at 16:37 UTC

    Thank you for your insight. I was concerned that if I showed them one module (maybe a CGI::Application derived class for example) that was part of a larger system that there would be no context as to the intent of the code in the bigger scheme.

    I could have shown them my custom written CGI::Application base class that I use as the starting point for my web applications, but it contains a lot of use ClassName statements since it loads most of the modules I'll need in the rest of the application. It also does implement new base code and helper functions, but I thought it would seem out of context since it doesn't do anything on it's own.

    I think you are right though. Show the best code regardless of context and hope for the best. Thank you again.