http://www.perlmonks.org?node_id=1025843

Hello everyone, I'm new here. I am interviewing for an entry level programming job tomorrow which utilizes Perl. I'm actually still some what new to programming. Most of my experience is in Java from a recent programming class in school. Anyways, from what I have learned so far, Perl is nice and less tedious than Java- though it appears to lack a little bit in the GUI department. I hope to learn from everyone here and give back what I can to the community, too. Peace PerlSufi

Replies are listed 'Best First'.
Re: new initiate on the path..
by davido (Cardinal) on Mar 28, 2013 at 17:54 UTC

    Welcome, and good luck with the interview. But most of all, have fun and enjoy Perl.


    Dave

      Thanks, Dave. Interview went well. The company uses Perl to compile data from clients and then add them to documents of various filetypes and formats, ship them or email them back. He wants me to make a project extracting data from a few txt and pdf files and compile them into a new pdf file. I noticed some posts and examples of such tasks on here, so I am getting started on that..
Re: new initiate on the path..
by sundialsvc4 (Abbot) on Apr 01, 2013 at 19:29 UTC

    Excellent.   Welcome aboard!   (And, congratulations!)

    Definitely spend some time here:   http://search.cpan.org

    The reason why I say that is anchored in a bit of wisdom that I first encountered in a completely-unrelated book that I read many dozens of years ago:

    Actum Ne Agas:   Do Not Do A Thing Already Done.

    “Extracting data from txt files and pdf files,” and “compiling them into a new pdf file,” all more-or-less fall into the purview of “a thing already done,” albeit not-quite.   Any (and every) problem that you are likely to encounter on-the-job will actually turn out to be “slightly a brand-new application or twist on mostly what has been done before.”   There are no Brownie-points to be earned from reinventing the wheel.   Put this URL onto the bookmarks-bar of your web browser, and refer to it constantly.

    For example, this particular requirement could be broken-down in this way, by our intrepid Perl programmer who knows that “laziness is a virtue” ...

    • How do I gather data from a (particular variety of) TXT file?   Or a PDF file?  Solved.
    • How do I “extract data from” them?   Good luck!
    • How do I modify a PDF file?   Solved.
    • How do I modify a PDF file in a way that is suitable to my particular application?   Good luck!

    You will have plenty of challenges in front of you.   Just make sure that you do not find yourself unnecessarily reinventing wheels.   As a matter of instinct, to the greatest extent possible, leverage “prior art.”

    Also:   Be sure to make full use of this resource! (perlmonks)   If you stumble into a stumbling-block ... ask.   You have a great many sympathetic friends here.   All things considered, ’tis better that you ask sooner rather than later.   All of us have clients to be served.   All of us are beholden to them all.

      Thanks sundial, I have been practically living on the cpan website the past couple days. You can see some of what I have been working on at this node: PDF Extract tangent was a huge help in getting me to writing pdf to pdf. It is not quite the format I was envisioning right now, but it was way further than I was. As far as the potential job, I'll have to wait and see from what they think from the scripts that I have turned in. Most of the credit goes to you guys, honestly, for doing some of these things in the past and having sample code available on this site. I am still quite a n00b at this point :) peace, PerlSufi